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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007982/0.0007982, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003672/0.003672, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8868/0.8868, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.623e-05, allocations: 2.281 kB / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002776/0.002803, allocations: 2.123 MB / 300.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.004054, allocations: 0.9283 MB / 301.5 MB, free: 464 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.004183, allocations: 7.938 kB / 301.5 MB, free: 456 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.004592, allocations: 91.5 kB / 301.6 MB, free: 364 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.004945, allocations: 123.2 kB / 301.7 MB, free: 240 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.005266, allocations: 127.6 kB / 301.8 MB, free: 112 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1118/0.1171, allocations: 294 kB / 302.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.1172, allocations: 63.22 kB / 302.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.1174, allocations: 157.4 kB / 302.3 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1176, allocations: 103.4 kB / 302.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.1176, allocations: 18.66 kB / 302.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1178, allocations: 51.95 kB / 302.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.1178, allocations: 60.06 kB / 302.5 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.1179, allocations: 75.88 kB / 302.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.1182, allocations: 296.2 kB / 302.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1182, allocations: 0.8906 kB / 302.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1182, allocations: 3.906 kB / 302.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1182, allocations: 0 / 302.9 MB, free: 13.14 MB / 282.7 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.0005358/0.1188, allocations: 480.4 kB / 303.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1188, allocations: 16.67 kB / 303.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.1189, allocations: 50 kB / 303.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.298e-05/0.1189, allocations: 28.92 kB / 303.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.1192, allocations: 192.2 kB / 303.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1192, allocations: 11.75 kB / 303.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.1192, allocations: 20.64 kB / 303.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.1195, allocations: 171.3 kB / 303.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1195, allocations: 1 kB / 303.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1195, allocations: 12.52 kB / 303.9 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1195, allocations: 4.25 kB / 303.9 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.1197, allocations: 124.5 kB / 304 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.1202, allocations: 0.4951 MB / 304.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1204, allocations: 159.3 kB / 304.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.032e-05/0.1205, allocations: 80.33 kB / 304.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1205, allocations: 2.25 kB / 304.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.1207, allocations: 122.2 kB / 304.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.1207, allocations: 0 / 304.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003332/0.121, allocations: 240.7 kB / 305.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.121, allocations: 54.72 kB / 305.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1212, allocations: 260.5 kB / 305.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.1212, allocations: 29.48 kB / 305.4 MB, free: 11.94 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.1213, allocations: 151.7 kB / 305.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.1213, allocations: 72.16 kB / 305.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.1213, allocations: 47.48 kB / 305.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.1214, allocations: 331.9 kB / 306 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.1215, allocations: 51.11 kB / 306.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-05/0.1215, allocations: 98.09 kB / 306.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1217, allocations: 149.5 kB / 306.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1217, allocations: 4.625 kB / 306.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002127/0.1219, allocations: 206.4 kB / 306.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1219, allocations: 5.719 kB / 306.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1219, allocations: 1.156 kB / 306.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1219, allocations: 2.469 kB / 306.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1221, allocations: 49.78 kB / 306.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1221, allocations: 5.703 kB / 306.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.1221, allocations: 21.66 kB / 306.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1221, allocations: 7.234 kB / 306.6 MB, free: 11.2 MB / 282.7 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 7.235e-05/0.1222, allocations: 154.3 kB / 306.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.1222, allocations: 22.48 kB / 306.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.1225, allocations: 221 kB / 307 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1225, allocations: 6.406 kB / 307 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1225, allocations: 0 / 307 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1225, allocations: 1.172 kB / 307 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.1226, allocations: 243.5 kB / 307.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1226, allocations: 0 / 307.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1227, allocations: 35.8 kB / 307.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1227, allocations: 1.531 kB / 307.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1228, allocations: 13.97 kB / 307.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1228, allocations: 2.406 kB / 307.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1228, allocations: 0 / 307.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.1231, allocations: 310.9 kB / 307.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.1231, allocations: 23.75 kB / 307.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1231, allocations: 6.453 kB / 307.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.034e-05/0.1231, allocations: 8.031 kB / 307.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.1232, allocations: 12.33 kB / 307.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1232, allocations: 5.047 kB / 307.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1233, allocations: 200.5 kB / 307.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1233, allocations: 4.062 kB / 307.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001863/0.1235, allocations: 58.86 kB / 307.9 MB, free: 10.42 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009306/0.1244, allocations: 1.171 MB / 309.1 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1246, allocations: 146.4 kB / 309.2 MB, free: 9.449 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1246, allocations: 1.25 kB / 309.2 MB, free: 9.449 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.1247, allocations: 70.95 kB / 309.3 MB, free: 9.434 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.1249, allocations: 49.7 kB / 309.3 MB, free: 9.414 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.1267, allocations: 2.368 MB / 311.7 MB, free: 7.773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.488e-05/0.1268, allocations: 139.1 kB / 311.8 MB, free: 7.695 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.832e-05/0.1268, allocations: 24.59 kB / 311.9 MB, free: 7.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.1269, allocations: 76.31 kB / 311.9 MB, free: 7.637 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1269, allocations: 4 kB / 311.9 MB, free: 7.633 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.1442, allocations: 6.285 MB / 318.2 MB, free: 5.699 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.83, allocations: 10.23 kB / 318.2 MB, free: 5.691 MB / 282.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_Motor_fmu --startTime=0 --stopTime=7200 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_Motor.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 17.18119834177196]