Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.00138/0.00138, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001521/0.001521, allocations: 214.2 kB / 24.48 MB, free: 3.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 51.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2325, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.0093/0.2418, allocations: 7.068 MB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004231/0.246, allocations: 2.451 MB / 441.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004755/0.2465, allocations: 27.88 kB / 441.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.2478, allocations: 0.5121 MB / 442.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009187/0.2487, allocations: 496.3 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.2491, allocations: 243.8 kB / 443.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.2505, allocations: 1.428 MB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006257/0.2512, allocations: 379.3 kB / 444.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007477/0.2519, allocations: 0.5642 MB / 445.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.2525, allocations: 0.4973 MB / 446 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.2527, allocations: 136 kB / 446.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.253, allocations: 176 kB / 446.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.2533, allocations: 271 kB / 446.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005212/0.2538, allocations: 0.525 MB / 447.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.2556, allocations: 1.72 MB / 448.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2556, allocations: 0 / 448.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2556, allocations: 0 / 448.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.2556, allocations: 0 / 448.8 MB, free: 6.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002369/0.2579, allocations: 1.384 MB / 450.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.258, allocations: 12.03 kB / 450.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005601/0.2585, allocations: 180 kB / 450.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.2598, allocations: 0.6572 MB / 451 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.399e-05/0.2599, allocations: 70 kB / 451.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.26, allocations: 103.9 kB / 451.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.2617, allocations: 1.01 MB / 452.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.2617, allocations: 0 / 452.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.158e-05/0.2618, allocations: 40 kB / 452.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.2618, allocations: 24 kB / 452.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.2631, allocations: 0.6246 MB / 452.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004819/0.2679, allocations: 3.333 MB / 456.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.2685, allocations: 274.4 kB / 456.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.2688, allocations: 136.7 kB / 456.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2688, allocations: 7.938 kB / 456.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.2689, allocations: 34.56 kB / 456.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.2689, allocations: 4 kB / 456.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002265/0.2711, allocations: 1.043 MB / 457.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.2712, allocations: 85.11 kB / 457.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.2722, allocations: 0.7504 MB / 458.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.2723, allocations: 33.7 kB / 458.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.2727, allocations: 0.5889 MB / 459.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.2728, allocations: 134.9 kB / 459.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.273, allocations: 126.6 kB / 459.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.2732, allocations: 378.8 kB / 459.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.2736, allocations: 149.9 kB / 459.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.2742, allocations: 481.7 kB / 460.4 MB, free: 9.977 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009577/0.2751, allocations: 0.6474 MB / 461.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.2751, allocations: 4 kB / 461.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00127/0.2764, allocations: 0.6889 MB / 461.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.2764, allocations: 8.156 kB / 461.8 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.2764, allocations: 16 kB / 461.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.2766, allocations: 36.84 kB / 461.8 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.2771, allocations: 155.7 kB / 462 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.2782, allocations: 1.264 MB / 463.2 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.2787, allocations: 44.09 kB / 463.3 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.2788, allocations: 32 kB / 463.3 MB, free: 6.832 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * 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: 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.00036/0.2791, allocations: 256.5 kB / 463.6 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.2792, allocations: 83.48 kB / 463.6 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000775/0.28, allocations: 373.3 kB / 464 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.28, allocations: 4 kB / 464 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.28, allocations: 4 kB / 464 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.28, allocations: 3.984 kB / 464 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.2818, allocations: 1.036 MB / 465 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.2818, allocations: 4.203 kB / 465 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.2821, allocations: 75.91 kB / 465.1 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-05/0.2822, allocations: 24.84 kB / 465.1 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.2822, allocations: 8 kB / 465.2 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.2833, allocations: 1.248 MB / 466.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2833, allocations: 4.156 kB / 466.4 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2843, allocations: 0.6245 MB / 467 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.2846, allocations: 103.5 kB / 467.1 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/0.2846, allocations: 8 kB / 467.1 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.285, allocations: 31.98 kB / 467.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.2851, allocations: 31.83 kB / 467.2 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.2851, allocations: 11.98 kB / 467.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000698/0.2858, allocations: 0.5029 MB / 467.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2858, allocations: 0 / 467.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006964/0.2865, allocations: 191.9 kB / 467.9 MB, free: 1.996 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.0002186/0.2867, allocations: 119.2 kB / 468 MB, free: 1.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009911/0.2877, allocations: 499.7 kB / 468.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2877, allocations: 0 / 468.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004465/0.2882, allocations: 255.8 kB / 468.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000922/0.2891, allocations: 197.9 kB / 469 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.292, allocations: 1.747 MB / 470.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.2924, allocations: 412.5 kB / 471.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2926, allocations: 55.44 kB / 471.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2926, allocations: 0 / 471.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of Templates: time 0.02129/0.3139, allocations: 15.84 MB / 487 MB, free: 14.82 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.412092622835189]