Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001403/0.001403, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 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.001755/0.001755, allocations: 204.8 kB / 25.24 MB, free: 3.547 MB / 14.72 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 1.404/1.404, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] 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: 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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 59.92 kB / 348.5 MB, free: 9.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2427, allocations: 49.15 MB / 397.6 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007635/0.2503, allocations: 7.986 MB / 405.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.254, allocations: 2.633 MB / 408.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000636/0.2546, allocations: 27.34 kB / 408.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.2558, allocations: 0.5305 MB / 408.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008199/0.2566, allocations: 425 kB / 409.2 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.257, allocations: 222.7 kB / 409.4 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.2581, allocations: 1.231 MB / 410.7 MB, free: 480 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004748/0.2585, allocations: 373.7 kB / 411 MB, free: 244 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004995/0.259, allocations: 0.494 MB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006654/0.2597, allocations: 0.5169 MB / 412 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.2598, allocations: 114 kB / 412.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.2601, allocations: 155.9 kB / 412.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.2603, allocations: 225 kB / 412.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005415/0.2609, allocations: 0.572 MB / 413.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.2625, allocations: 1.465 MB / 414.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2625, allocations: 1.531 kB / 414.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2625, allocations: 0 / 414.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.2625, allocations: 0 / 414.6 MB, free: 14.25 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002234/0.2648, allocations: 1.267 MB / 415.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2648, allocations: 16.81 kB / 415.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005027/0.2653, allocations: 152.5 kB / 416 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.2664, allocations: 0.5763 MB / 416.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.2665, allocations: 63.78 kB / 416.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.2666, allocations: 91.17 kB / 416.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.2679, allocations: 0.8178 MB / 417.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.268, allocations: 6.297 kB / 417.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.905e-05/0.268, allocations: 32.09 kB / 417.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.2681, allocations: 21.34 kB / 417.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.2691, allocations: 0.5425 MB / 418.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004546/0.2737, allocations: 3.457 MB / 421.6 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.2742, allocations: 231.3 kB / 421.8 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.2745, allocations: 112.6 kB / 421.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.2745, allocations: 2.125 kB / 421.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.2745, allocations: 41.09 kB / 422 MB, free: 8.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.2745, allocations: 0 / 422 MB, free: 8.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002059/0.2766, allocations: 0.9351 MB / 422.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.2766, allocations: 84.61 kB / 423 MB, free: 7.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009896/0.2776, allocations: 0.766 MB / 423.8 MB, free: 7.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.2777, allocations: 32.61 kB / 423.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.2781, allocations: 0.5258 MB / 424.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.2782, allocations: 121.7 kB / 424.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.2783, allocations: 128.7 kB / 424.6 MB, free: 6.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.2785, allocations: 373.9 kB / 424.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.2788, allocations: 135 kB / 425.1 MB, free: 6.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.2794, allocations: 453 kB / 425.5 MB, free: 5.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/0.2802, allocations: 0.6129 MB / 426.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.2802, allocations: 3.812 kB / 426.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001101/0.2813, allocations: 0.6478 MB / 426.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2813, allocations: 9.531 kB / 426.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.2814, allocations: 14.34 kB / 426.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/0.2815, allocations: 32.2 kB / 426.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.282, allocations: 154.3 kB / 427 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.2831, allocations: 1.286 MB / 428.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.2836, allocations: 41.25 kB / 428.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.2836, allocations: 31.78 kB / 428.3 MB, free: 3.52 MB / 334.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.0003398/0.284, allocations: 246.1 kB / 428.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2841, allocations: 78.48 kB / 428.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006766/0.2848, allocations: 329.8 kB / 429 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.2848, allocations: 6.172 kB / 429 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.2848, allocations: 1.094 kB / 429 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.2848, allocations: 3.938 kB / 429 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.2865, allocations: 1.087 MB / 430.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2866, allocations: 4 kB / 430.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.2868, allocations: 68.11 kB / 430.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.362e-05/0.2869, allocations: 20.84 kB / 430.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.2869, allocations: 8 kB / 430.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.288, allocations: 1.271 MB / 431.4 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.288, allocations: 0 / 431.4 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009608/0.2889, allocations: 0.5767 MB / 432 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.2892, allocations: 107.4 kB / 432.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.082e-05/0.2893, allocations: 8 kB / 432.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.2896, allocations: 19.98 kB / 432.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.2897, allocations: 27.89 kB / 432.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.2897, allocations: 12 kB / 432.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006987/0.2904, allocations: 0.5186 MB / 432.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2904, allocations: 3.938 kB / 432.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007182/0.2911, allocations: 175.9 kB / 432.9 MB, free: 14.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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 Backend phase and start with SimCode phase: time 0.0001936/0.2913, allocations: 115 kB / 433 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009834/0.2923, allocations: 472.8 kB / 433.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.2923, allocations: 7.938 kB / 433.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.2927, allocations: 242.4 kB / 433.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009237/0.2936, allocations: 183.8 kB / 433.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.2962, allocations: 1.519 MB / 435.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000627/0.2968, allocations: 0.9487 MB / 436.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.297, allocations: 55.44 kB / 436.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.297, allocations: 0 / 436.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Templates: time 0.01936/0.3163, allocations: 13.97 MB / 450.4 MB, free: 13.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.401503436034545]