Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.00148/0.00148, allocations: 107.6 kB / 21.18 MB, free: 452 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.001662/0.001662, allocations: 213.5 kB / 24.47 MB, free: 3.777 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.527/1.527, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [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.001964/0.001964, allocations: 54.58 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2791, allocations: 49.16 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.00919/0.2883, allocations: 7.207 MB / 404.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006195/0.2945, allocations: 2.558 MB / 406.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.2968, allocations: 28.66 kB / 406.7 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00308/0.2998, allocations: 0.5142 MB / 407.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004009/0.3038, allocations: 0.5096 MB / 407.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.3054, allocations: 264.5 kB / 407.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00358/0.309, allocations: 1.503 MB / 409.4 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.3107, allocations: 375.8 kB / 409.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.3128, allocations: 0.5809 MB / 410.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.3147, allocations: 0.531 MB / 410.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000653/0.3154, allocations: 139.7 kB / 411.1 MB, free: 444 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.3166, allocations: 188.5 kB / 411.2 MB, free: 424 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004805/0.3171, allocations: 279.8 kB / 411.5 MB, free: 216 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001895/0.319, allocations: 0.5497 MB / 412.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004537/0.3235, allocations: 1.771 MB / 413.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3235, allocations: 0 / 413.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3235, allocations: 1.344 kB / 413.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.284e-05/0.3236, allocations: 0 / 413.8 MB, free: 14.6 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.005678/0.3293, allocations: 1.431 MB / 415.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.3293, allocations: 12.73 kB / 415.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.3307, allocations: 200.5 kB / 415.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.3336, allocations: 0.6964 MB / 416.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.3337, allocations: 73.81 kB / 416.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003246/0.334, allocations: 103.8 kB / 416.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.3374, allocations: 1.039 MB / 417.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-05/0.3375, allocations: 9.094 kB / 417.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.3376, allocations: 37.88 kB / 417.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/0.3377, allocations: 23.91 kB / 417.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.3402, allocations: 0.6518 MB / 418.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.3506, allocations: 3.381 MB / 421.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.3518, allocations: 352 kB / 421.8 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.3529, allocations: 260.1 kB / 422.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.193e-05/0.353, allocations: 4.406 kB / 422.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.353, allocations: 38 kB / 422.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 4.598e-06/0.353, allocations: 0 / 422.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.005654/0.3587, allocations: 1.335 MB / 423.5 MB, free: 7.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3588, allocations: 82.33 kB / 423.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.3613, allocations: 0.7775 MB / 424.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-05/0.3613, allocations: 36.05 kB / 424.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008405/0.3622, allocations: 0.5869 MB / 424.9 MB, free: 6.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.3625, allocations: 170.7 kB / 425.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/0.3628, allocations: 129.8 kB / 425.2 MB, free: 6.363 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003525/0.3632, allocations: 394.7 kB / 425.6 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/0.3639, allocations: 169.9 kB / 425.8 MB, free: 5.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.365, allocations: 0.4895 MB / 426.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3663, allocations: 0.6796 MB / 427 MB, free: 4.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/0.3663, allocations: 7.984 kB / 427 MB, free: 4.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001651/0.3679, allocations: 0.7794 MB / 427.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.368, allocations: 12 kB / 427.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.368, allocations: 8 kB / 427.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003073/0.3683, allocations: 77.69 kB / 427.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.3688, allocations: 155.7 kB / 428 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.3716, allocations: 2.889 MB / 430.9 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008023/0.3724, allocations: 40.14 kB / 430.9 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.3725, allocations: 36 kB / 431 MB, free: 144 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005232/0.373, allocations: 257.6 kB / 431.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.3731, allocations: 91.44 kB / 431.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.3742, allocations: 0.4949 MB / 431.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.3742, allocations: 7.938 kB / 431.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3742, allocations: 4 kB / 431.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3742, allocations: 0 / 431.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.3765, allocations: 1.22 MB / 433 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.3765, allocations: 8 kB / 433 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.3769, allocations: 75.89 kB / 433.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.3771, allocations: 81.83 kB / 433.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.3771, allocations: 8 kB / 433.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.3797, allocations: 2.862 MB / 436.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3797, allocations: 4.125 kB / 436.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.3811, allocations: 0.7985 MB / 436.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.3815, allocations: 123.5 kB / 437 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/0.3816, allocations: 8 kB / 437 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.382, allocations: 31.97 kB / 437 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3821, allocations: 39.88 kB / 437.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.3821, allocations: 16 kB / 437.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007668/0.3829, allocations: 0.5147 MB / 437.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3829, allocations: 0 / 437.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009996/0.3839, allocations: 212 kB / 437.8 MB, free: 8.953 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.0002303/0.3841, allocations: 115.1 kB / 437.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.3855, allocations: 0.6896 MB / 438.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3855, allocations: 0 / 438.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007068/0.3862, allocations: 438.9 kB / 439 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.3872, allocations: 207 kB / 439.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.3905, allocations: 1.769 MB / 441 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.391, allocations: 430.4 kB / 441.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004079/0.3914, allocations: 102.6 kB / 441.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3915, allocations: 51.44 kB / 441.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3915, allocations: 0 / 441.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of Templates: time 0.02323/0.4148, allocations: 11.73 MB / 453.3 MB, free: 9.285 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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: 5.342986896634102]