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.001114/0.001114, allocations: 100.4 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.7 MB / 246.4 MB, free: 9.828 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 4 kB / 307.1 MB, free: 0.9766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 51.53 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007443/0.1157, allocations: 7.043 MB / 365.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003632/0.1194, allocations: 2.456 MB / 368.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.1198, allocations: 23.94 kB / 368.2 MB, free: 3.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009792/0.1208, allocations: 469.3 kB / 368.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006481/0.1214, allocations: 369.2 kB / 369 MB, free: 3.059 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.1217, allocations: 139.9 kB / 369.1 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.1228, allocations: 1.299 MB / 370.4 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005608/0.1234, allocations: 431.2 kB / 370.8 MB, free: 1.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004905/0.1239, allocations: 442 kB / 371.3 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.1244, allocations: 485.7 kB / 371.7 MB, free: 276 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.1245, allocations: 67.94 kB / 371.8 MB, free: 208 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.1247, allocations: 108 kB / 371.9 MB, free: 100 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1902/0.315, allocations: 182.2 kB / 372.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000673/0.3157, allocations: 252.8 kB / 372.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.3175, allocations: 1.331 MB / 373.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.3175, allocations: 4.672 kB / 373.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3175, allocations: 0 / 373.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.3176, allocations: 0.6562 kB / 373.7 MB, free: 10.59 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.002057/0.3196, allocations: 1.249 MB / 374.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3197, allocations: 12.3 kB / 374.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005589/0.3202, allocations: 173.8 kB / 375.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.3214, allocations: 0.6808 MB / 375.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/0.3215, allocations: 71.94 kB / 375.9 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.3217, allocations: 99.83 kB / 376 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.3235, allocations: 0.9226 MB / 376.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.3235, allocations: 3.172 kB / 376.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.24e-05/0.3236, allocations: 43.44 kB / 376.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.3236, allocations: 24.12 kB / 377 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.3249, allocations: 0.6329 MB / 377.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005258/0.3302, allocations: 3.929 MB / 381.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.3309, allocations: 364.5 kB / 381.9 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.3312, allocations: 152.1 kB / 382 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.3313, allocations: 4.453 kB / 382 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3313, allocations: 37.22 kB / 382.1 MB, free: 7.406 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 4.849e-06/0.3313, allocations: 3.984 kB / 382.1 MB, free: 7.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002709/0.334, allocations: 1.229 MB / 383.3 MB, free: 6.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.3341, allocations: 81.08 kB / 383.4 MB, free: 6.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.3355, allocations: 0.8163 MB / 384.2 MB, free: 6.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.3355, allocations: 32.14 kB / 384.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.336, allocations: 0.5639 MB / 384.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.3361, allocations: 133.8 kB / 384.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.3361, allocations: 12.59 kB / 384.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3362, allocations: 335 kB / 385.3 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.3365, allocations: 154.2 kB / 385.4 MB, free: 5.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/0.3371, allocations: 463.8 kB / 385.9 MB, free: 5.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.3375, allocations: 231 kB / 386.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.3375, allocations: 3.406 kB / 386.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001298/0.3388, allocations: 0.6962 MB / 386.8 MB, free: 5.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.3389, allocations: 13.17 kB / 386.8 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.3389, allocations: 10.19 kB / 386.8 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.3391, allocations: 34.64 kB / 386.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.3396, allocations: 169 kB / 387 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009103/0.3406, allocations: 1.287 MB / 388.3 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.3411, allocations: 46.31 kB / 388.3 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.3411, allocations: 33.3 kB / 388.4 MB, free: 4.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004095/0.3416, allocations: 258.3 kB / 388.6 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.3417, allocations: 88.2 kB / 388.7 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008167/0.3425, allocations: 389.1 kB / 389.1 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3426, allocations: 3.688 kB / 389.1 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3426, allocations: 0 / 389.1 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3426, allocations: 4.859 kB / 389.1 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.3445, allocations: 1.274 MB / 390.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3445, allocations: 4.703 kB / 390.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.3449, allocations: 74.64 kB / 390.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-05/0.345, allocations: 31.27 kB / 390.5 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.345, allocations: 12.11 kB / 390.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006385/0.3456, allocations: 1.274 MB / 391.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3456, allocations: 2.219 kB / 391.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/0.3466, allocations: 0.6458 MB / 392.4 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.3468, allocations: 190.8 kB / 392.6 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.595e-05/0.3469, allocations: 13.72 kB / 392.6 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.3473, allocations: 27.05 kB / 392.6 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.3474, allocations: 30.55 kB / 392.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.3474, allocations: 8.875 kB / 392.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007943/0.3482, allocations: 0.5519 MB / 393.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3482, allocations: 0 / 393.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008442/0.3491, allocations: 188.2 kB / 393.4 MB, free: 1.266 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002269/0.3493, allocations: 128.8 kB / 393.5 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009926/0.3503, allocations: 0.519 MB / 394.1 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3503, allocations: 1.5 kB / 394.1 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.3507, allocations: 267.1 kB / 394.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.3518, allocations: 215.9 kB / 394.5 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/0.355, allocations: 2.093 MB / 396.6 MB, free: 15.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.3557, allocations: 0.9919 MB / 397.6 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004345/0.3561, allocations: 106.7 kB / 397.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.3562, allocations: 58.19 kB / 397.8 MB, free: 14.34 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3562, allocations: 0 / 397.8 MB, free: 14.34 MB / 318.1 MB Notification: Performance of Templates: time 0.02128/0.3775, allocations: 8.695 MB / 406.5 MB, free: 9.262 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/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