Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001257/0.001257, allocations: 110.8 kB / 21.19 MB, free: 0.668 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.00147/0.00147, allocations: 211.6 kB / 24.49 MB, free: 3.969 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.47/1.47, allocations: 230.6 MB / 258.3 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 51.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2112, allocations: 53.37 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008887/0.2201, allocations: 6.359 MB / 438.7 MB, free: 360 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00413/0.2242, allocations: 2.224 MB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.2247, allocations: 19.94 kB / 441 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.2259, allocations: 472 kB / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000827/0.2268, allocations: 413 kB / 441.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.2271, allocations: 203.8 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.2284, allocations: 1.203 MB / 443.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000542/0.2289, allocations: 336.5 kB / 443.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000613/0.2295, allocations: 490.1 kB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.2301, allocations: 497.8 kB / 444.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.2303, allocations: 116 kB / 444.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.2305, allocations: 152 kB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.2307, allocations: 231.1 kB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004411/0.2312, allocations: 450 kB / 445.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.2327, allocations: 1.451 MB / 446.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2327, allocations: 0 / 446.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2327, allocations: 0 / 446.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.2327, allocations: 0 / 446.9 MB, free: 8.121 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.00213/0.2349, allocations: 1.205 MB / 448.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2349, allocations: 12.03 kB / 448.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000533/0.2354, allocations: 148.2 kB / 448.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.2365, allocations: 0.5766 MB / 448.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/0.2366, allocations: 62.38 kB / 448.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.2367, allocations: 84.31 kB / 449 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.2381, allocations: 0.8295 MB / 449.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.2382, allocations: 3.984 kB / 449.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.2382, allocations: 32 kB / 449.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.2383, allocations: 20 kB / 449.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.2393, allocations: 0.5192 MB / 450.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/0.2433, allocations: 2.916 MB / 453.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.2438, allocations: 210.5 kB / 453.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.2441, allocations: 112.8 kB / 453.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.2441, allocations: 7.938 kB / 453.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2441, allocations: 38.55 kB / 453.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.864e-06/0.2441, allocations: 0 / 453.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001992/0.2461, allocations: 0.9121 MB / 454.6 MB, free: 92 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.2462, allocations: 81.34 kB / 454.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009003/0.2471, allocations: 0.6759 MB / 455.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.2471, allocations: 33.7 kB / 455.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.2475, allocations: 0.5071 MB / 455.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.2476, allocations: 111.1 kB / 456 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.2478, allocations: 114.2 kB / 456.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.2479, allocations: 370.8 kB / 456.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.2482, allocations: 129.2 kB / 456.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.2488, allocations: 439.9 kB / 457 MB, free: 13.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008903/0.2497, allocations: 0.5792 MB / 457.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2497, allocations: 0 / 457.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00111/0.2508, allocations: 0.6077 MB / 458.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2508, allocations: 12.12 kB / 458.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.2508, allocations: 12 kB / 458.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.251, allocations: 36.84 kB / 458.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.2514, allocations: 135.8 kB / 458.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.2525, allocations: 1.26 MB / 459.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.2529, allocations: 40.09 kB / 459.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.253, allocations: 28 kB / 459.7 MB, free: 10.51 MB / 366.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.0003153/0.2533, allocations: 245.5 kB / 459.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.2534, allocations: 67.58 kB / 460 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006714/0.2541, allocations: 308.9 kB / 460.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2541, allocations: 7.984 kB / 460.3 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2541, allocations: 0 / 460.3 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.2543, allocations: 87.47 kB / 460.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.688e-05/0.2543, allocations: 8 kB / 460.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.2547, allocations: 15.98 kB / 460.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.2547, allocations: 23.95 kB / 460.5 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007953/0.2555, allocations: 365.5 kB / 460.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008565/0.2564, allocations: 0.5667 MB / 461.4 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002133/0.2566, allocations: 92.03 kB / 461.5 MB, free: 8.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006177/0.2572, allocations: 467.1 kB / 461.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of Backend: time 3.21e-07/0.2572, allocations: 0 / 461.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.2583, allocations: 477.3 kB / 462.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of SimCode: time 0.002853/0.2612, allocations: 1.979 MB / 464.4 MB, free: 5.73 MB / 366.1 MB Notification: Performance of Templates: time 0.01878/0.28, allocations: 10.11 MB / 474.5 MB, free: 11.81 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.689997752997442]