Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 108 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 213.8 kB / 18.92 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.1 MB, free: 10.67 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 56.69 kB / 307.1 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1064, allocations: 50.54 MB / 357.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009278/0.1157, allocations: 7.967 MB / 365.6 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.1202, allocations: 2.595 MB / 368.2 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008748/0.1211, allocations: 23.94 kB / 368.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.1227, allocations: 0.4904 MB / 368.7 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.1241, allocations: 397.2 kB / 369.1 MB, free: 2.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.1247, allocations: 207.9 kB / 369.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.1264, allocations: 1.428 MB / 370.7 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008476/0.1273, allocations: 0.5846 MB / 371.3 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008624/0.1281, allocations: 0.5408 MB / 371.9 MB, free: 76 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1487/0.2768, allocations: 0.5816 MB / 372.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003704/0.2772, allocations: 135.6 kB / 372.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.2777, allocations: 174 kB / 372.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.2779, allocations: 274.4 kB / 373 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006425/0.2785, allocations: 0.6527 MB / 373.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.2802, allocations: 1.384 MB / 375.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2802, allocations: 0 / 375.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2802, allocations: 5.094 kB / 375.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.866e-05/0.2803, allocations: 1.031 kB / 375.1 MB, free: 10.98 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002481/0.2827, allocations: 1.424 MB / 376.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2828, allocations: 10.25 kB / 376.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005749/0.2834, allocations: 170.3 kB / 376.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000999/0.2844, allocations: 0.7197 MB / 377.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.2844, allocations: 72.69 kB / 377.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.2846, allocations: 96.94 kB / 377.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.2861, allocations: 0.9189 MB / 378.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.2862, allocations: 1.906 kB / 378.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-05/0.2862, allocations: 40.09 kB / 378.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.2863, allocations: 24.22 kB / 378.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.2874, allocations: 0.6276 MB / 379.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004664/0.2921, allocations: 3.92 MB / 383.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.2926, allocations: 352.7 kB / 383.4 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.2929, allocations: 145.8 kB / 383.6 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.2929, allocations: 4.344 kB / 383.6 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.293, allocations: 36.81 kB / 383.6 MB, free: 6.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.293, allocations: 0 / 383.6 MB, free: 6.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002117/0.2951, allocations: 1.197 MB / 384.8 MB, free: 6.094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.2952, allocations: 80.7 kB / 384.9 MB, free: 6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.2962, allocations: 0.8244 MB / 385.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.2963, allocations: 34.8 kB / 385.7 MB, free: 5.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.2966, allocations: 0.5645 MB / 386.3 MB, free: 5.152 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.2967, allocations: 132.2 kB / 386.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.2968, allocations: 127.8 kB / 386.6 MB, free: 4.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.2969, allocations: 328.5 kB / 386.9 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.2972, allocations: 152.1 kB / 387 MB, free: 4.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.2976, allocations: 463.5 kB / 387.5 MB, free: 4.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007/0.2983, allocations: 0.6344 MB / 388.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.2983, allocations: 3.219 kB / 388.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001091/0.2994, allocations: 0.6952 MB / 388.8 MB, free: 3.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.2994, allocations: 8.938 kB / 388.8 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.2994, allocations: 10.44 kB / 388.8 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.2996, allocations: 35.58 kB / 388.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.3001, allocations: 162.2 kB / 389 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007372/0.3008, allocations: 1.39 MB / 390.4 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005907/0.3014, allocations: 33.62 kB / 390.5 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.3015, allocations: 34.56 kB / 390.5 MB, free: 1.945 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003316/0.3018, allocations: 261.4 kB / 390.7 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3019, allocations: 87.88 kB / 390.8 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006472/0.3026, allocations: 370.1 kB / 391.2 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3026, allocations: 3.875 kB / 391.2 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3026, allocations: 4.344 kB / 391.2 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3026, allocations: 2.344 kB / 391.2 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.3043, allocations: 1.267 MB / 392.5 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3043, allocations: 1.531 kB / 392.5 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.3046, allocations: 77.27 kB / 392.5 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-05/0.3047, allocations: 27.27 kB / 392.6 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.3047, allocations: 11.84 kB / 392.6 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007546/0.3055, allocations: 1.373 MB / 394 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3055, allocations: 8.406 kB / 394 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009762/0.3065, allocations: 0.6257 MB / 394.6 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.3068, allocations: 187.4 kB / 394.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.3069, allocations: 12.53 kB / 394.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.3073, allocations: 25.16 kB / 394.8 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.3073, allocations: 33.12 kB / 394.8 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.3074, allocations: 13.84 kB / 394.9 MB, free: 14.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007279/0.3081, allocations: 0.5581 MB / 395.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3081, allocations: 0 / 395.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007788/0.3089, allocations: 184.7 kB / 395.6 MB, free: 14.56 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/0.3091, allocations: 126.4 kB / 395.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009956/0.3101, allocations: 0.5279 MB / 396.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3101, allocations: 1.156 kB / 396.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.3105, allocations: 264.6 kB / 396.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.3116, allocations: 216.7 kB / 396.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.3145, allocations: 2.139 MB / 398.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.3151, allocations: 0.992 MB / 399.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.3152, allocations: 65.56 kB / 399.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3153, allocations: 0 / 399.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of Templates: time 0.01898/0.3342, allocations: 15.72 MB / 415.6 MB, free: 14.88 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches