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.001258/0.001259, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.83 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2095, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003267/0.2128, allocations: 2.243 MB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.2148, allocations: 1.231 MB / 413.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.215, allocations: 3.938 kB / 413.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.2154, allocations: 87.56 kB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.2158, allocations: 163.1 kB / 413.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.2162, allocations: 123.5 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.2166, allocations: 294.7 kB / 414.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.2168, allocations: 88.58 kB / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.217, allocations: 115.6 kB / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.2172, allocations: 127.5 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.2172, allocations: 16 kB / 414.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.2174, allocations: 51.98 kB / 414.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.2175, allocations: 59.77 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.2176, allocations: 115.4 kB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.2179, allocations: 300.1 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.218, allocations: 0 / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.218, allocations: 0 / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.218, allocations: 0 / 414.9 MB, free: 12.55 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.0008058/0.2188, allocations: 0.5456 MB / 415.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.2188, allocations: 11.97 kB / 415.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.219, allocations: 36.56 kB / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.2193, allocations: 259.7 kB / 415.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2193, allocations: 12.38 kB / 415.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.2194, allocations: 24.12 kB / 415.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.2197, allocations: 157.6 kB / 415.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2197, allocations: 3.906 kB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.2198, allocations: 8 kB / 416 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2198, allocations: 4 kB / 416 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.22, allocations: 115.7 kB / 416.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008808/0.2209, allocations: 0.5741 MB / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.2212, allocations: 158.5 kB / 416.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.2214, allocations: 84.83 kB / 416.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.2214, allocations: 4 kB / 416.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.2217, allocations: 121.5 kB / 417 MB, free: 10.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.913e-06/0.2217, allocations: 0 / 417 MB, free: 10.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004746/0.2221, allocations: 228.5 kB / 417.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2222, allocations: 51.41 kB / 417.3 MB, free: 9.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.2224, allocations: 264.9 kB / 417.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2225, allocations: 33.7 kB / 417.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.2226, allocations: 144.4 kB / 417.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.2226, allocations: 74.92 kB / 417.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.2227, allocations: 37.72 kB / 417.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2228, allocations: 338.8 kB / 418.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.223, allocations: 55.91 kB / 418.2 MB, free: 9.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2231, allocations: 91.34 kB / 418.3 MB, free: 8.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.2234, allocations: 150.9 kB / 418.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2234, allocations: 0 / 418.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003472/0.2237, allocations: 201.2 kB / 418.6 MB, free: 8.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2238, allocations: 12.03 kB / 418.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2238, allocations: 8 kB / 418.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2238, allocations: 0 / 418.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.224, allocations: 51.92 kB / 418.7 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.224, allocations: 3.938 kB / 418.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2241, allocations: 15.83 kB / 418.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2242, allocations: 12 kB / 418.7 MB, free: 8.465 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.0001241/0.2243, allocations: 152.6 kB / 418.9 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.2243, allocations: 27.72 kB / 418.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.2244, allocations: 30.19 kB / 418.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2244, allocations: 3.984 kB / 419 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2244, allocations: 0 / 419 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.2245, allocations: 96.77 kB / 419 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.2245, allocations: 8 kB / 419.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.2246, allocations: 0 / 419.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.2247, allocations: 19.97 kB / 419.1 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004757/0.2252, allocations: 256.9 kB / 419.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005734/0.2257, allocations: 442.3 kB / 419.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001194/0.2259, allocations: 70.7 kB / 419.8 MB, free: 7.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.226, allocations: 196.5 kB / 420 MB, free: 7.141 MB / 334.1 MB Notification: Performance of Backend: time 3.2e-07/0.2261, allocations: 0 / 420 MB, free: 7.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.2274, allocations: 495.1 kB / 420.5 MB, free: 6.793 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009945/0.2284, allocations: 0.9793 MB / 421.5 MB, free: 5.77 MB / 334.1 MB Notification: Performance of Templates: time 0.006206/0.2346, allocations: 3.016 MB / 424.5 MB, free: 2.777 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