Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001585/0.001585, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 75.88 kB / 378.8 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2201, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009907/0.23, allocations: 8.048 MB / 440.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004457/0.2344, allocations: 2.66 MB / 442.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00074/0.2352, allocations: 27.94 kB / 442.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.2366, allocations: 0.522 MB / 443.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.2377, allocations: 432.8 kB / 443.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.2381, allocations: 219.6 kB / 444 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.2394, allocations: 1.237 MB / 445.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005648/0.24, allocations: 374 kB / 445.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006021/0.2406, allocations: 490.1 kB / 446 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006547/0.2413, allocations: 0.5172 MB / 446.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.2414, allocations: 116 kB / 446.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.2417, allocations: 156 kB / 446.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.2419, allocations: 235.2 kB / 447.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005128/0.2424, allocations: 0.5638 MB / 447.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.244, allocations: 1.475 MB / 449.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.244, allocations: 4 kB / 449.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.244, allocations: 0 / 449.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.244, allocations: 0 / 449.1 MB, free: 6.262 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002263/0.2463, allocations: 1.339 MB / 450.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2463, allocations: 8.031 kB / 450.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006997/0.247, allocations: 180.2 kB / 450.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.248, allocations: 0.6382 MB / 451.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.2481, allocations: 62.38 kB / 451.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.2482, allocations: 91.92 kB / 451.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.2497, allocations: 0.8223 MB / 452.2 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.2497, allocations: 7.953 kB / 452.2 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.2498, allocations: 36 kB / 452.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.2498, allocations: 20 kB / 452.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.2509, allocations: 0.5465 MB / 452.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004495/0.2554, allocations: 3.56 MB / 456.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.2559, allocations: 226.7 kB / 456.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.2562, allocations: 108.8 kB / 456.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.2562, allocations: 0 / 456.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.2562, allocations: 42.55 kB / 456.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.2562, allocations: 0 / 456.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002158/0.2584, allocations: 1.095 MB / 457.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.2585, allocations: 81.11 kB / 457.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009977/0.2595, allocations: 0.7663 MB / 458.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.2595, allocations: 37.7 kB / 458.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.2599, allocations: 0.5228 MB / 459.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/0.26, allocations: 115 kB / 459.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.2601, allocations: 122.2 kB / 459.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.2603, allocations: 382.8 kB / 459.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.2606, allocations: 129.2 kB / 460 MB, free: 10.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.2612, allocations: 450.2 kB / 460.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/0.2621, allocations: 0.6138 MB / 461.1 MB, free: 9.496 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2621, allocations: 0 / 461.1 MB, free: 9.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001159/0.2632, allocations: 0.6499 MB / 461.7 MB, free: 8.836 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2633, allocations: 8.969 kB / 461.7 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.2633, allocations: 12 kB / 461.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.2634, allocations: 48.72 kB / 461.8 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.2639, allocations: 147.7 kB / 461.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.2651, allocations: 1.394 MB / 463.3 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.2655, allocations: 39.94 kB / 463.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.2656, allocations: 39.88 kB / 463.4 MB, free: 7.008 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003131/0.2659, allocations: 242.1 kB / 463.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.266, allocations: 79.48 kB / 463.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007034/0.2667, allocations: 330 kB / 464 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2667, allocations: 3.984 kB / 464 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2667, allocations: 0 / 464 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.2669, allocations: 180.5 kB / 464.2 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.635e-05/0.267, allocations: 8 kB / 464.2 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.2674, allocations: 19.97 kB / 464.2 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.2674, allocations: 19.97 kB / 464.3 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008324/0.2683, allocations: 373.6 kB / 464.6 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009403/0.2692, allocations: 0.5932 MB / 465.2 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000229/0.2694, allocations: 95.98 kB / 465.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006951/0.2701, allocations: 0.5185 MB / 465.8 MB, free: 4.512 MB / 366.1 MB Notification: Performance of Backend: time 1.71e-07/0.2701, allocations: 0 / 465.8 MB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.2713, allocations: 0.4906 MB / 466.3 MB, free: 4.004 MB / 366.1 MB Notification: Performance of SimCode: time 0.002956/0.2743, allocations: 2.034 MB / 468.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of Templates: time 0.01867/0.293, allocations: 9.496 MB / 477.8 MB, free: 8.52 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.592092845123261]