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.00137/0.00137, 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.001452/0.001452, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.385/1.385, allocations: 207.6 MB / 236 MB, free: 9.98 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.001808/0.001808, allocations: 59.92 kB / 348.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2506, allocations: 49.17 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.007807/0.2584, allocations: 8.249 MB / 405.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004437/0.2629, allocations: 2.742 MB / 408.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.2641, allocations: 27.06 kB / 408.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.2656, allocations: 0.5817 MB / 409.2 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.267, allocations: 0.5033 MB / 409.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.2675, allocations: 268.2 kB / 410 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.2691, allocations: 1.5 MB / 411.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006578/0.2698, allocations: 398.7 kB / 411.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008615/0.2706, allocations: 0.5844 MB / 412.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000822/0.2715, allocations: 0.6159 MB / 413.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.2716, allocations: 138.9 kB / 413.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.272, allocations: 185.5 kB / 413.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.2723, allocations: 283.2 kB / 413.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006931/0.273, allocations: 0.6744 MB / 414.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.2752, allocations: 1.763 MB / 416.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2752, allocations: 0 / 416.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2752, allocations: 0 / 416.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.639e-05/0.2752, allocations: 1.562 kB / 416.1 MB, free: 13.11 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.002806/0.278, allocations: 1.437 MB / 417.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2781, allocations: 13.02 kB / 417.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006753/0.2787, allocations: 196.6 kB / 417.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.2801, allocations: 0.6973 MB / 418.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/0.2801, allocations: 69.44 kB / 418.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.2803, allocations: 108.4 kB / 418.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.2819, allocations: 0.9399 MB / 419.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.2819, allocations: 5.406 kB / 419.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.282, allocations: 45.08 kB / 419.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.282, allocations: 28.56 kB / 419.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.2833, allocations: 0.6578 MB / 420.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00554/0.2888, allocations: 3.8 MB / 424.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.2895, allocations: 352.5 kB / 424.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.2901, allocations: 256 kB / 424.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.2901, allocations: 9.203 kB / 424.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.2902, allocations: 37.38 kB / 424.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.255e-06/0.2902, allocations: 0 / 424.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.003133/0.2933, allocations: 1.339 MB / 426.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.2934, allocations: 81.52 kB / 426.2 MB, free: 5.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2945, allocations: 0.8425 MB / 427 MB, free: 5.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.2946, allocations: 35.92 kB / 427 MB, free: 5.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.295, allocations: 0.5781 MB / 427.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.2951, allocations: 166.6 kB / 427.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.2953, allocations: 138.2 kB / 427.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.2955, allocations: 331.7 kB / 428.2 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.2959, allocations: 175.2 kB / 428.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/0.2965, allocations: 471.6 kB / 428.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.2975, allocations: 0.6875 MB / 429.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2975, allocations: 0 / 429.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001466/0.2989, allocations: 0.783 MB / 430.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.299, allocations: 12 kB / 430.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.299, allocations: 8.375 kB / 430.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/0.2993, allocations: 93.55 kB / 430.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.2998, allocations: 163.7 kB / 430.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.3025, allocations: 2.935 MB / 433.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.3032, allocations: 32.08 kB / 433.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.3033, allocations: 32 kB / 433.6 MB, free: 14.41 MB / 350.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.0004696/0.3037, allocations: 269.5 kB / 433.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3039, allocations: 95.39 kB / 434 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.3049, allocations: 0.4956 MB / 434.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3049, allocations: 8 kB / 434.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.3049, allocations: 128 / 434.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3049, allocations: 8 kB / 434.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.3072, allocations: 1.441 MB / 435.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3072, allocations: 0 / 435.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.3076, allocations: 67.91 kB / 436 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/0.3078, allocations: 77.89 kB / 436.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.3078, allocations: 8 kB / 436.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.3103, allocations: 2.923 MB / 439 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.3103, allocations: 7.969 kB / 439 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.3117, allocations: 0.8064 MB / 439.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.3121, allocations: 131.3 kB / 439.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.3122, allocations: 11.94 kB / 439.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.3126, allocations: 35.97 kB / 440 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.3127, allocations: 35.88 kB / 440 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.3127, allocations: 16 kB / 440 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008249/0.3135, allocations: 0.5693 MB / 440.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3135, allocations: 0 / 440.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008788/0.3144, allocations: 211.9 kB / 440.8 MB, free: 6.828 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.0002126/0.3146, allocations: 123.2 kB / 440.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.3159, allocations: 0.6777 MB / 441.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3159, allocations: 0.6875 kB / 441.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.3166, allocations: 449.7 kB / 442 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.3177, allocations: 231.5 kB / 442.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.3207, allocations: 1.81 MB / 444.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.3214, allocations: 1.009 MB / 445.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3216, allocations: 63.42 kB / 445.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3216, allocations: 0 / 445.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Templates: time 0.02754/0.3491, allocations: 21.48 MB / 466.6 MB, free: 12.81 MB / 382.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/jenkins1/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/jenkins1/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: 9.178840912878513]