Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00189/0.00189, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002452/0.002452, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002888/0.002888, allocations: 64.12 kB / 378.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.29, allocations: 53.37 MB / 432.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009501/0.2995, allocations: 7.226 MB / 439.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004307/0.3038, allocations: 2.395 MB / 441.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006279/0.3044, allocations: 23.94 kB / 441.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.3058, allocations: 0.5126 MB / 442.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.3069, allocations: 413 kB / 442.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.3074, allocations: 207.7 kB / 442.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.3089, allocations: 1.202 MB / 444.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005967/0.3095, allocations: 346.5 kB / 444.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006679/0.3101, allocations: 478.2 kB / 444.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.3107, allocations: 0.4939 MB / 445.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.3109, allocations: 112 kB / 445.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.3112, allocations: 156 kB / 445.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.3114, allocations: 231.2 kB / 445.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005239/0.3119, allocations: 0.5404 MB / 446.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.3136, allocations: 1.436 MB / 447.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3136, allocations: 0 / 447.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3136, allocations: 0 / 447.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.3136, allocations: 4 kB / 447.9 MB, free: 7.277 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.002224/0.3158, allocations: 1.202 MB / 449.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3159, allocations: 8.031 kB / 449.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005111/0.3164, allocations: 152.2 kB / 449.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.3175, allocations: 0.5843 MB / 449.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.8e-05/0.3176, allocations: 58.38 kB / 449.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.3177, allocations: 84.33 kB / 450 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.3191, allocations: 0.7793 MB / 450.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.3192, allocations: 4 kB / 450.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-05/0.3192, allocations: 32 kB / 450.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.3193, allocations: 20 kB / 450.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.3204, allocations: 0.5191 MB / 451.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004523/0.3249, allocations: 3.274 MB / 454.6 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.3254, allocations: 214.6 kB / 454.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.3257, allocations: 116.7 kB / 454.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3257, allocations: 0 / 454.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3258, allocations: 34.56 kB / 454.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.072e-06/0.3258, allocations: 0 / 454.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002143/0.3279, allocations: 0.911 MB / 455.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.328, allocations: 89.28 kB / 455.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009887/0.329, allocations: 0.7311 MB / 456.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.329, allocations: 29.7 kB / 456.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/0.3294, allocations: 0.5034 MB / 457.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3295, allocations: 115.1 kB / 457.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.3297, allocations: 114.2 kB / 457.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3299, allocations: 374.8 kB / 457.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.3302, allocations: 137.2 kB / 457.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.3307, allocations: 418.2 kB / 458.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/0.3316, allocations: 0.5675 MB / 458.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3316, allocations: 4 kB / 458.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001136/0.3327, allocations: 0.627 MB / 459.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3327, allocations: 8 kB / 459.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.3328, allocations: 12 kB / 459.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.3329, allocations: 32.78 kB / 459.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.3334, allocations: 139.8 kB / 459.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.3345, allocations: 1.279 MB / 461 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.335, allocations: 44.09 kB / 461 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.335, allocations: 28 kB / 461.1 MB, free: 9.277 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.0003927/0.3354, allocations: 241.5 kB / 461.3 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3355, allocations: 71.53 kB / 461.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007219/0.3363, allocations: 329.4 kB / 461.7 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3363, allocations: 0 / 461.7 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3363, allocations: 4 kB / 461.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3363, allocations: 0 / 461.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.338, allocations: 1.066 MB / 462.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.338, allocations: 4 kB / 462.8 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.3382, allocations: 55.97 kB / 462.8 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-05/0.3383, allocations: 29 kB / 462.9 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.3384, allocations: 12 kB / 462.9 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.3394, allocations: 1.271 MB / 464.1 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.3394, allocations: 7.969 kB / 464.2 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009791/0.3404, allocations: 0.5531 MB / 464.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.3406, allocations: 99.53 kB / 464.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.3407, allocations: 8 kB / 464.8 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.341, allocations: 23.97 kB / 464.8 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.3411, allocations: 23.91 kB / 464.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3411, allocations: 8 kB / 464.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007147/0.3418, allocations: 0.5029 MB / 465.4 MB, free: 4.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3418, allocations: 0 / 465.4 MB, free: 4.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006743/0.3425, allocations: 164 kB / 465.5 MB, free: 4.57 MB / 366.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.0002106/0.3427, allocations: 115.1 kB / 465.6 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009653/0.3437, allocations: 461 kB / 466.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3437, allocations: 0 / 466.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.3441, allocations: 239.2 kB / 466.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000902/0.345, allocations: 200.5 kB / 466.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.3474, allocations: 1.447 MB / 468 MB, free: 2.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.348, allocations: 0.9411 MB / 468.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002962/0.3483, allocations: 90.02 kB / 469 MB, free: 1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.3484, allocations: 47.44 kB / 469 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3484, allocations: 0 / 469 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of Templates: time 0.01779/0.3662, allocations: 8.686 MB / 477.7 MB, free: 8.355 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.060418085195124]