Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2095, allocations: 50.53 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003115/0.2127, allocations: 2.254 MB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.2144, allocations: 1.227 MB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.406e-05/0.2145, allocations: 4 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.2148, allocations: 91.5 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.2152, allocations: 159.1 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.2155, allocations: 123.6 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.2158, allocations: 294.8 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.216, allocations: 88.56 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.2161, allocations: 115.6 kB / 414.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.2163, allocations: 127.5 kB / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.2163, allocations: 19.94 kB / 414.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.2165, allocations: 59.92 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.69e-05/0.2166, allocations: 55.83 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.2167, allocations: 115.4 kB / 414.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.217, allocations: 296.1 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.217, allocations: 0 / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2171, allocations: 0 / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.2171, allocations: 0 / 414.9 MB, free: 12.57 MB / 334.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.0007957/0.2179, allocations: 0.5534 MB / 415.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2179, allocations: 8.031 kB / 415.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.2181, allocations: 32.56 kB / 415.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.2184, allocations: 259.7 kB / 415.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2184, allocations: 12.38 kB / 415.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.2185, allocations: 24.12 kB / 415.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.2188, allocations: 157.6 kB / 415.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2188, allocations: 3.906 kB / 415.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.2188, allocations: 12 kB / 416 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2188, allocations: 4 kB / 416 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.2191, allocations: 119.7 kB / 416.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000791/0.2199, allocations: 0.5624 MB / 416.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.2202, allocations: 158.5 kB / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.2204, allocations: 92.77 kB / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.2204, allocations: 0 / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.2206, allocations: 117.8 kB / 417 MB, free: 10.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.2206, allocations: 0 / 417 MB, free: 10.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004734/0.2211, allocations: 225.8 kB / 417.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.2211, allocations: 55.41 kB / 417.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.2214, allocations: 268.8 kB / 417.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2214, allocations: 29.7 kB / 417.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.2215, allocations: 144.4 kB / 417.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.434e-05/0.2216, allocations: 74.92 kB / 417.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.2217, allocations: 37.72 kB / 417.8 MB, free: 9.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.2218, allocations: 338.8 kB / 418.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2219, allocations: 51.97 kB / 418.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.2221, allocations: 95.34 kB / 418.3 MB, free: 8.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.2223, allocations: 154.3 kB / 418.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2223, allocations: 0 / 418.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003463/0.2227, allocations: 205.2 kB / 418.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2227, allocations: 6.969 kB / 418.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2227, allocations: 4 kB / 418.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2227, allocations: 0 / 418.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.2229, allocations: 47.92 kB / 418.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.223, allocations: 11.88 kB / 418.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.753e-05/0.2231, allocations: 15.83 kB / 418.7 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2231, allocations: 12 kB / 418.7 MB, free: 8.484 MB / 334.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 0.0001288/0.2232, allocations: 157.7 kB / 418.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.2233, allocations: 19.72 kB / 418.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/0.2233, allocations: 30.17 kB / 418.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2234, allocations: 3.984 kB / 418.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2234, allocations: 4 kB / 419 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.2234, allocations: 96.77 kB / 419 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.2235, allocations: 4 kB / 419.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.2236, allocations: 4 kB / 419.1 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.2236, allocations: 19.97 kB / 419.1 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004789/0.2241, allocations: 263.1 kB / 419.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005298/0.2246, allocations: 434.3 kB / 419.8 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001214/0.2248, allocations: 74.7 kB / 419.8 MB, free: 7.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.2249, allocations: 196.5 kB / 420 MB, free: 7.156 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.225, allocations: 0 / 420 MB, free: 7.156 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.2263, allocations: 491.8 kB / 420.5 MB, free: 6.809 MB / 334.1 MB Notification: Performance of SimCode: time 0.001022/0.2273, allocations: 0.9756 MB / 421.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of Templates: time 0.006221/0.2335, allocations: 3.017 MB / 424.5 MB, free: 2.797 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches