Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 108.3 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 186.2 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 47.92 kB / 329.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07433/0.07556, allocations: 46.62 MB / 375.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003509/0.0791, allocations: 2.231 MB / 378 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.08074, allocations: 0.9593 MB / 379 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.0809, allocations: 4 kB / 379 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.08125, allocations: 99.48 kB / 379.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.08157, allocations: 123.3 kB / 379.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.08194, allocations: 131.6 kB / 379.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.08224, allocations: 286.8 kB / 379.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.08242, allocations: 84.58 kB / 379.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.08257, allocations: 119.6 kB / 379.8 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.08275, allocations: 119.5 kB / 379.9 MB, free: 460 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.08279, allocations: 23.94 kB / 380 MB, free: 436 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.08292, allocations: 47.98 kB / 380 MB, free: 388 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.587e-05/0.083, allocations: 51.83 kB / 380.1 MB, free: 336 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.08312, allocations: 119.3 kB / 380.2 MB, free: 216 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1492/0.2323, allocations: 287.4 kB / 380.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2323, allocations: 1.281 kB / 380.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2324, allocations: 0 / 380.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.2324, allocations: 0.5625 kB / 380.5 MB, free: 10.27 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007621/0.2331, allocations: 0.5419 MB / 381 MB, free: 9.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2332, allocations: 8.844 kB / 381 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2333, allocations: 33.39 kB / 381 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.2337, allocations: 253 kB / 381.3 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2337, allocations: 11.98 kB / 381.3 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.2337, allocations: 19.31 kB / 381.3 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.234, allocations: 168.7 kB / 381.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2341, allocations: 0 / 381.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.2341, allocations: 6.891 kB / 381.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2341, allocations: 4.875 kB / 381.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.2343, allocations: 121.7 kB / 381.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.2351, allocations: 0.5536 MB / 382.2 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.2354, allocations: 167 kB / 382.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.2355, allocations: 84.77 kB / 382.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.2356, allocations: 6.75 kB / 382.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.2358, allocations: 119.5 kB / 382.5 MB, free: 9.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.2358, allocations: 1.375 kB / 382.5 MB, free: 9.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004599/0.2363, allocations: 233.3 kB / 382.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.2363, allocations: 54.83 kB / 382.8 MB, free: 9.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.2365, allocations: 252.9 kB / 383.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2366, allocations: 34.17 kB / 383.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.2366, allocations: 144.3 kB / 383.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.2367, allocations: 71.03 kB / 383.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.2368, allocations: 38.25 kB / 383.3 MB, free: 8.801 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.2368, allocations: 341.7 kB / 383.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.237, allocations: 50.94 kB / 383.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.2371, allocations: 93.06 kB / 383.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.2374, allocations: 142.2 kB / 384 MB, free: 8.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2374, allocations: 1.25 kB / 384 MB, free: 8.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003706/0.2378, allocations: 215.6 kB / 384.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2378, allocations: 6.094 kB / 384.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2378, allocations: 1.281 kB / 384.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2378, allocations: 1.219 kB / 384.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.238, allocations: 46.67 kB / 384.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2381, allocations: 3 kB / 384.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.2382, allocations: 22.48 kB / 384.3 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2382, allocations: 9.641 kB / 384.3 MB, free: 8.352 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.lossTable.nextTimeEvent,$whenCondition1,lossTable.nextTimeEventScaled,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.984e-05/0.2383, allocations: 153.7 kB / 384.4 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.2383, allocations: 22.78 kB / 384.4 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.2384, allocations: 30.48 kB / 384.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2384, allocations: 1.5 kB / 384.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2384, allocations: 0 / 384.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.2385, allocations: 99.48 kB / 384.6 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.2385, allocations: 7.141 kB / 384.6 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.2386, allocations: 3.422 kB / 384.6 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.2386, allocations: 14.55 kB / 384.6 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004435/0.2391, allocations: 267 kB / 384.8 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000454/0.2396, allocations: 439 kB / 385.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000117/0.2397, allocations: 69.31 kB / 385.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.2398, allocations: 186 kB / 385.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of Backend: time 3.61e-07/0.2398, allocations: 0.9375 kB / 385.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.2411, allocations: 0.4904 MB / 386 MB, free: 7.406 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008717/0.242, allocations: 0.9727 MB / 387 MB, free: 6.625 MB / 318.1 MB Notification: Performance of Templates: time 0.006519/0.2486, allocations: 2.995 MB / 390 MB, free: 6.348 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches