Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.001794/0.001794, allocations: 117.6 kB / 18.5 MB, free: 4.543 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.002236/0.002236, allocations: 201 kB / 21.45 MB, free: 1.59 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.547/1.547, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 373.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1043, allocations: 53.32 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.2053/0.3096, allocations: 8.13 MB / 435.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.3126, allocations: 2.681 MB / 438 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.3131, allocations: 27.75 kB / 438 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.3142, allocations: 0.5705 MB / 438.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007841/0.315, allocations: 0.489 MB / 439.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.3154, allocations: 255.7 kB / 439.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.3166, allocations: 1.469 MB / 440.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005283/0.3171, allocations: 406.8 kB / 441.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006826/0.3178, allocations: 0.5649 MB / 441.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005899/0.3184, allocations: 0.5944 MB / 442.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.3186, allocations: 137.7 kB / 442.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.3189, allocations: 175 kB / 442.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.3191, allocations: 283.1 kB / 442.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.3195, allocations: 0.6663 MB / 443.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.3214, allocations: 1.727 MB / 445.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3214, allocations: 0.6562 kB / 445.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3214, allocations: 0 / 445.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.3215, allocations: 0.5 kB / 445.3 MB, free: 2.68 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002282/0.3237, allocations: 1.475 MB / 446.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.3238, allocations: 10.47 kB / 446.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006383/0.3244, allocations: 198.8 kB / 447 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.3255, allocations: 0.756 MB / 447.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/0.3255, allocations: 76.88 kB / 447.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.3257, allocations: 100.6 kB / 447.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.3271, allocations: 0.9302 MB / 448.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.3272, allocations: 2.562 kB / 448.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.3273, allocations: 45.16 kB / 448.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.3273, allocations: 23.12 kB / 448.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.3284, allocations: 0.6323 MB / 449.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00566/0.3341, allocations: 3.888 MB / 453.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/0.3349, allocations: 422.5 kB / 453.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005899/0.3355, allocations: 251.6 kB / 454.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.3355, allocations: 5.109 kB / 454.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.3355, allocations: 37.97 kB / 454.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.3355, allocations: 0 / 454.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002968/0.3385, allocations: 1.41 MB / 455.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.3386, allocations: 84.25 kB / 455.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.3398, allocations: 0.8285 MB / 456.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.3398, allocations: 32.45 kB / 456.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005344/0.3403, allocations: 0.5665 MB / 457.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.3405, allocations: 165.4 kB / 457.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.3407, allocations: 134.7 kB / 457.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3408, allocations: 337.9 kB / 457.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.3412, allocations: 162.8 kB / 457.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005971/0.3418, allocations: 467.3 kB / 458.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009925/0.3428, allocations: 0.6604 MB / 459 MB, free: 9.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.3428, allocations: 8.469 kB / 459 MB, free: 9.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001521/0.3443, allocations: 0.7621 MB / 459.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.3443, allocations: 9.5 kB / 459.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.3443, allocations: 9.312 kB / 459.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/0.3447, allocations: 89.09 kB / 459.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.3452, allocations: 153.7 kB / 460 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/0.3483, allocations: 3.136 MB / 463.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/0.349, allocations: 36.94 kB / 463.2 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/0.3491, allocations: 35.66 kB / 463.2 MB, free: 6.246 MB / 366.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 (84): * Single equations (assignments): 82 * 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.0004952/0.3496, allocations: 268.7 kB / 463.5 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.3497, allocations: 89.5 kB / 463.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.3508, allocations: 494.6 kB / 464 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3508, allocations: 6.938 kB / 464 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3508, allocations: 3.344 kB / 464 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3508, allocations: 0 / 464 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.3533, allocations: 1.431 MB / 465.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3533, allocations: 3.25 kB / 465.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.3536, allocations: 77 kB / 465.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/0.3538, allocations: 68.98 kB / 465.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.3539, allocations: 12.44 kB / 465.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002653/0.3565, allocations: 3.133 MB / 468.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3565, allocations: 2.188 kB / 468.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.358, allocations: 0.7682 MB / 469.5 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.3583, allocations: 206 kB / 469.7 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.3584, allocations: 16.5 kB / 469.7 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.3589, allocations: 22.83 kB / 469.8 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/0.359, allocations: 30.23 kB / 469.8 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.359, allocations: 19.09 kB / 469.8 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009007/0.3599, allocations: 0.5676 MB / 470.4 MB, free: 300 kB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3599, allocations: 1 kB / 470.4 MB, free: 300 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001069/0.361, allocations: 204.2 kB / 470.6 MB, free: 280 kB / 366.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 (38): * Single equations (assignments): 36 * 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.0002752/0.3612, allocations: 128.7 kB / 470.7 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.3625, allocations: 0.6696 MB / 471.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3626, allocations: 0 / 471.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007104/0.3633, allocations: 429.5 kB / 471.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3644, allocations: 234.8 kB / 472 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.3675, allocations: 1.749 MB / 473.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007413/0.3683, allocations: 1.004 MB / 474.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003745/0.3687, allocations: 108.9 kB / 474.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.3688, allocations: 54.62 kB / 474.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3688, allocations: 1.188 kB / 474.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of Templates: time 0.0218/0.3906, allocations: 10.84 MB / 485.8 MB, free: 4.91 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.042763396166265]