Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001513/0.001513, allocations: 110.2 kB / 17.74 MB, free: 5.359 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.001745/0.001745, allocations: 185.4 kB / 18.67 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009435/0.0009436, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2156, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003353/0.219, allocations: 2.235 MB / 403.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.2208, allocations: 1.087 MB / 404.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.2209, allocations: 7.938 kB / 404.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.2212, allocations: 83.58 kB / 404.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.2216, allocations: 123.2 kB / 404.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.222, allocations: 147.6 kB / 405.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.2224, allocations: 290.8 kB / 405.4 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.2226, allocations: 84.58 kB / 405.4 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.2227, allocations: 107.6 kB / 405.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.2229, allocations: 127.5 kB / 405.7 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.223, allocations: 20 kB / 405.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.2231, allocations: 55.97 kB / 405.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.2232, allocations: 47.84 kB / 405.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.2233, allocations: 115.4 kB / 405.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.2237, allocations: 292.1 kB / 406.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2237, allocations: 0 / 406.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2237, allocations: 4 kB / 406.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2238, allocations: 0 / 406.2 MB, free: 4.047 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.0007681/0.2245, allocations: 0.542 MB / 406.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2246, allocations: 11.97 kB / 406.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.2247, allocations: 28.64 kB / 406.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.225, allocations: 256.7 kB / 407 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2251, allocations: 12.38 kB / 407 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.2251, allocations: 24.12 kB / 407.1 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.2255, allocations: 165.2 kB / 407.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2255, allocations: 3.906 kB / 407.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.2255, allocations: 12 kB / 407.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2255, allocations: 4 kB / 407.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.2258, allocations: 119.9 kB / 407.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000855/0.2266, allocations: 0.5585 MB / 407.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.227, allocations: 178.4 kB / 408.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.2271, allocations: 87.2 kB / 408.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.2272, allocations: 4 kB / 408.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.2274, allocations: 115.3 kB / 408.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/0.2274, allocations: 0 / 408.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004931/0.2279, allocations: 224.3 kB / 408.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.228, allocations: 63.41 kB / 408.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.2282, allocations: 252.9 kB / 408.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.2282, allocations: 33.7 kB / 408.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.648e-05/0.2283, allocations: 136.4 kB / 409 MB, free: 1.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.323e-05/0.2284, allocations: 75 kB / 409.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.2285, allocations: 37.7 kB / 409.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2286, allocations: 338.8 kB / 409.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.2287, allocations: 47.98 kB / 409.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2289, allocations: 91.39 kB / 409.6 MB, free: 452 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.2291, allocations: 142.9 kB / 409.7 MB, free: 300 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2291, allocations: 0 / 409.7 MB, free: 300 kB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003485/0.2295, allocations: 205.2 kB / 409.9 MB, free: 88 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2295, allocations: 8 kB / 409.9 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2295, allocations: 0 / 409.9 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2295, allocations: 7.938 kB / 409.9 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.2298, allocations: 47.91 kB / 410 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2298, allocations: 3.938 kB / 410 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.938e-05/0.2299, allocations: 19.84 kB / 410 MB, free: 0 / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.2299, allocations: 4.047 kB / 410 MB, free: 15.99 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.0001291/0.23, allocations: 149.8 kB / 410.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.2301, allocations: 23.72 kB / 410.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.345e-05/0.2302, allocations: 30.17 kB / 410.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2302, allocations: 0 / 410.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2302, allocations: 0 / 410.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.2303, allocations: 100.8 kB / 410.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.2303, allocations: 11.94 kB / 410.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.2304, allocations: 4 kB / 410.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.2304, allocations: 11.98 kB / 410.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004887/0.2309, allocations: 276.7 kB / 410.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005371/0.2315, allocations: 430.5 kB / 411 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001281/0.2316, allocations: 70.36 kB / 411.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.2318, allocations: 184.5 kB / 411.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of Backend: time 2.81e-07/0.2318, allocations: 0 / 411.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.2331, allocations: 0.4975 MB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of SimCode: time 0.001007/0.2342, allocations: 0.9753 MB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of Templates: time 0.006229/0.2404, allocations: 2.988 MB / 415.7 MB, free: 10.36 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches