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.001934/0.001934, allocations: 108.5 kB / 21.93 MB, free: 5.215 MB / 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.002358/0.002358, allocations: 214 kB / 25.23 MB, free: 3.027 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.394/1.394, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.001837/0.001837, allocations: 62.77 kB / 348.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2582, allocations: 49.15 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.007654/0.2658, allocations: 7.212 MB / 404.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004859/0.2707, allocations: 2.557 MB / 407.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.2721, allocations: 29.12 kB / 407.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.2737, allocations: 0.5226 MB / 407.9 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.2753, allocations: 0.5042 MB / 408.4 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.2759, allocations: 262.4 kB / 408.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.2777, allocations: 1.499 MB / 410.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005639/0.2782, allocations: 373.9 kB / 410.6 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000815/0.279, allocations: 0.5879 MB / 411.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/0.2797, allocations: 0.5246 MB / 411.7 MB, free: 452 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.2799, allocations: 139.7 kB / 411.8 MB, free: 452 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.2803, allocations: 180.2 kB / 412 MB, free: 440 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.2805, allocations: 292.8 kB / 412.3 MB, free: 220 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006349/0.2811, allocations: 0.5414 MB / 412.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.2833, allocations: 1.766 MB / 414.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.2833, allocations: 9.094 kB / 414.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2833, allocations: 0 / 414.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.58e-05/0.2834, allocations: 4 kB / 414.6 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.002774/0.2861, allocations: 1.434 MB / 416 MB, free: 13.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2862, allocations: 14.67 kB / 416 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006869/0.2869, allocations: 199.4 kB / 416.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.2883, allocations: 0.6897 MB / 416.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.647e-05/0.2883, allocations: 69.59 kB / 417 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.2885, allocations: 107.5 kB / 417.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.2901, allocations: 1.05 MB / 418.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.2902, allocations: 6.25 kB / 418.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.2903, allocations: 41.12 kB / 418.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.2903, allocations: 27.48 kB / 418.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.2916, allocations: 0.6456 MB / 418.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005206/0.2968, allocations: 3.384 MB / 422.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.2975, allocations: 343.8 kB / 422.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/0.2981, allocations: 259.8 kB / 422.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.2981, allocations: 5.156 kB / 422.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.2981, allocations: 37.25 kB / 422.9 MB, free: 8.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.554e-06/0.2981, allocations: 7.938 kB / 422.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.003161/0.3013, allocations: 1.324 MB / 424.2 MB, free: 7.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.3014, allocations: 82.14 kB / 424.3 MB, free: 7.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.3025, allocations: 0.7778 MB / 425.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.3025, allocations: 39.91 kB / 425.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.303, allocations: 0.5904 MB / 425.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.3032, allocations: 167.7 kB / 425.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.3034, allocations: 137.5 kB / 426 MB, free: 6.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.3036, allocations: 386.8 kB / 426.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.3039, allocations: 173.9 kB / 426.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.3046, allocations: 497.2 kB / 427 MB, free: 5.168 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.3056, allocations: 0.6836 MB / 427.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3056, allocations: 4 kB / 427.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001547/0.3072, allocations: 0.7753 MB / 428.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.3072, allocations: 12 kB / 428.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.3072, allocations: 8 kB / 428.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.3075, allocations: 89.92 kB / 428.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.308, allocations: 155.7 kB / 428.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.3107, allocations: 2.885 MB / 431.6 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007389/0.3114, allocations: 27.98 kB / 431.7 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.3115, allocations: 36 kB / 431.7 MB, free: 148 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.0005028/0.312, allocations: 265.7 kB / 432 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.3122, allocations: 91.5 kB / 432 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.3132, allocations: 494.8 kB / 432.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.3132, allocations: 11.94 kB / 432.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3132, allocations: 11.94 kB / 432.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3132, allocations: 3.984 kB / 432.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.3156, allocations: 1.231 MB / 433.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3156, allocations: 4 kB / 433.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.3159, allocations: 67.91 kB / 433.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002131/0.3161, allocations: 73.67 kB / 433.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.3161, allocations: 11.98 kB / 433.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002515/0.3187, allocations: 2.866 MB / 436.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3187, allocations: 8.219 kB / 436.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.3201, allocations: 0.7906 MB / 437.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.3205, allocations: 123.5 kB / 437.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/0.3206, allocations: 12 kB / 437.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.321, allocations: 27.98 kB / 437.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/0.3211, allocations: 39.95 kB / 437.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.3211, allocations: 19.98 kB / 437.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007469/0.3218, allocations: 0.5186 MB / 438.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3218, allocations: 0 / 438.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009387/0.3228, allocations: 204 kB / 438.5 MB, free: 8.949 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.0002218/0.323, allocations: 127.1 kB / 438.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.3243, allocations: 0.682 MB / 439.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3243, allocations: 0 / 439.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007165/0.325, allocations: 446.5 kB / 439.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.3261, allocations: 203.1 kB / 440 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/0.3293, allocations: 1.798 MB / 441.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.3298, allocations: 422.4 kB / 442.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.33, allocations: 63.42 kB / 442.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.33, allocations: 0 / 442.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of Templates: time 0.02786/0.3579, allocations: 21.45 MB / 463.7 MB, free: 15.59 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.068975287023932]