Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.001745/0.001745, allocations: 112.2 kB / 21.94 MB, free: 12 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.002189/0.002189, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.487/1.487, allocations: 207.6 MB / 236 MB, free: 10.88 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_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [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.001999/0.001999, allocations: 51.92 kB / 348.5 MB, free: 9.637 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2846, allocations: 49.15 MB / 397.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007789/0.2924, allocations: 7.161 MB / 404.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004388/0.2967, allocations: 2.403 MB / 407.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.2982, allocations: 21.06 kB / 407.2 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.3001, allocations: 0.5139 MB / 407.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.3014, allocations: 411 kB / 408.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.3019, allocations: 207.2 kB / 408.3 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.3033, allocations: 1.197 MB / 409.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005235/0.3038, allocations: 342.7 kB / 409.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006513/0.3044, allocations: 482.5 kB / 410.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005706/0.305, allocations: 0.4953 MB / 410.8 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.3051, allocations: 112.8 kB / 410.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.3055, allocations: 154.6 kB / 411.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.3056, allocations: 224.2 kB / 411.3 MB, free: 456 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004173/0.306, allocations: 0.5441 MB / 411.8 MB, free: 100 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.308, allocations: 1.439 MB / 413.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.308, allocations: 1.656 kB / 413.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.308, allocations: 0 / 413.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.811e-05/0.308, allocations: 0 / 413.3 MB, free: 15.3 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002372/0.3104, allocations: 1.205 MB / 414.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3104, allocations: 17.02 kB / 414.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000513/0.3109, allocations: 150.2 kB / 414.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.3121, allocations: 0.581 MB / 415.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.3121, allocations: 62.91 kB / 415.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.3122, allocations: 83.98 kB / 415.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.3136, allocations: 0.7756 MB / 416.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.3136, allocations: 15.22 kB / 416.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.3137, allocations: 33.62 kB / 416.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.3137, allocations: 19.44 kB / 416.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.3148, allocations: 0.5112 MB / 416.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004641/0.3194, allocations: 3.282 MB / 420 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.3199, allocations: 223.8 kB / 420.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.3202, allocations: 110.9 kB / 420.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.3202, allocations: 2.438 kB / 420.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3202, allocations: 32.78 kB / 420.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.3202, allocations: 0 / 420.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.002346/0.3226, allocations: 0.9128 MB / 421.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.3226, allocations: 80.58 kB / 421.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.3237, allocations: 0.7374 MB / 422.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.3238, allocations: 31.08 kB / 422.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.3242, allocations: 0.5051 MB / 422.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/0.3243, allocations: 104.7 kB / 422.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.3244, allocations: 112.9 kB / 422.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.3246, allocations: 382.1 kB / 423.2 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.3249, allocations: 123.7 kB / 423.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.3255, allocations: 424 kB / 423.8 MB, free: 7.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008082/0.3263, allocations: 0.5692 MB / 424.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3263, allocations: 6.125 kB / 424.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001154/0.3274, allocations: 0.6101 MB / 424.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.3274, allocations: 14.12 kB / 425 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.3275, allocations: 9.781 kB / 425 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.3276, allocations: 34.12 kB / 425 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.3281, allocations: 138.5 kB / 425.1 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.3294, allocations: 1.289 MB / 426.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.3299, allocations: 38.2 kB / 426.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.33, allocations: 28.59 kB / 426.5 MB, free: 5.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003584/0.3303, allocations: 237.4 kB / 426.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.3305, allocations: 78.03 kB / 426.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000682/0.3311, allocations: 327.1 kB / 427.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3311, allocations: 2.375 kB / 427.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3311, allocations: 1.156 kB / 427.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3312, allocations: 3.984 kB / 427.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.333, allocations: 1.064 MB / 428.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.333, allocations: 5.156 kB / 428.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.3332, allocations: 61.12 kB / 428.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.181e-05/0.3333, allocations: 20.66 kB / 428.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.3334, allocations: 7.531 kB / 428.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.3344, allocations: 1.271 MB / 429.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3344, allocations: 2.281 kB / 429.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009488/0.3354, allocations: 0.5534 MB / 430.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.3356, allocations: 107.5 kB / 430.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/0.3357, allocations: 8 kB / 430.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.336, allocations: 19.98 kB / 430.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.3361, allocations: 31.83 kB / 430.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3361, allocations: 8 kB / 430.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007381/0.3369, allocations: 0.4991 MB / 430.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3369, allocations: 0 / 430.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000751/0.3376, allocations: 164 kB / 430.9 MB, free: 0.9844 MB / 334.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 (27): * Single equations (assignments): 26 * 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.000215/0.3378, allocations: 123.1 kB / 431.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009078/0.3387, allocations: 448.6 kB / 431.5 MB, free: 416 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3387, allocations: 3.938 kB / 431.5 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.3391, allocations: 231 kB / 431.7 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008904/0.34, allocations: 194.8 kB / 431.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.3426, allocations: 1.476 MB / 433.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/0.3432, allocations: 0.9411 MB / 434.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.3434, allocations: 51.44 kB / 434.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3434, allocations: 0 / 434.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of Templates: time 0.01979/0.3632, allocations: 13.55 MB / 447.9 MB, free: 15.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_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_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.513183849863708]