Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.001601/0.001601, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001927/0.001927, allocations: 207.3 kB / 21.41 MB, free: 1.648 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 / 254.8 MB, free: 15.08 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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 43.94 kB / 374.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1128, allocations: 53.32 MB / 427.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.2324/0.3452, allocations: 8.135 MB / 435.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00432/0.3495, allocations: 2.679 MB / 438.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009014/0.3504, allocations: 30.5 kB / 438.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.3519, allocations: 0.5743 MB / 438.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.3532, allocations: 0.4905 MB / 439.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.3536, allocations: 245.6 kB / 439.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.3551, allocations: 1.475 MB / 441.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00063/0.3558, allocations: 406.1 kB / 441.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009696/0.3567, allocations: 0.5711 MB / 442.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000682/0.3574, allocations: 0.6096 MB / 442.7 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.3576, allocations: 138.1 kB / 442.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003839/0.358, allocations: 174.6 kB / 443 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.3582, allocations: 276 kB / 443.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.3587, allocations: 0.6633 MB / 443.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.3609, allocations: 1.73 MB / 445.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3609, allocations: 1.672 kB / 445.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3609, allocations: 0 / 445.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.882e-05/0.3609, allocations: 3.938 kB / 445.7 MB, free: 2.41 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.002451/0.3634, allocations: 1.48 MB / 447.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3634, allocations: 9.25 kB / 447.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006558/0.3641, allocations: 191.8 kB / 447.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.3652, allocations: 0.7504 MB / 448.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.3653, allocations: 69.72 kB / 448.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.3654, allocations: 109 kB / 448.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.3669, allocations: 0.9335 MB / 449.2 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.3669, allocations: 6.781 kB / 449.2 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.329e-05/0.367, allocations: 41.03 kB / 449.2 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.367, allocations: 24.03 kB / 449.3 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.3681, allocations: 0.632 MB / 449.9 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005804/0.374, allocations: 3.891 MB / 453.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007353/0.3747, allocations: 427.6 kB / 454.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.3753, allocations: 255.3 kB / 454.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.3753, allocations: 5.109 kB / 454.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.3754, allocations: 38.88 kB / 454.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.345e-06/0.3754, allocations: 0 / 454.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002993/0.3784, allocations: 1.412 MB / 455.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.3784, allocations: 81.23 kB / 456 MB, free: 12.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.3796, allocations: 0.8233 MB / 456.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.3796, allocations: 36.45 kB / 456.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/0.3801, allocations: 0.5697 MB / 457.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.3802, allocations: 166.3 kB / 457.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.3804, allocations: 130.5 kB / 457.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3806, allocations: 334.1 kB / 458 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.3809, allocations: 167.3 kB / 458.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005587/0.3815, allocations: 463.6 kB / 458.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/0.3824, allocations: 0.6628 MB / 459.3 MB, free: 9.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3824, allocations: 2.531 kB / 459.3 MB, free: 9.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001553/0.384, allocations: 0.765 MB / 460.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.384, allocations: 13.69 kB / 460.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.3841, allocations: 13.34 kB / 460.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.3844, allocations: 80.47 kB / 460.2 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.385, allocations: 158.1 kB / 460.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/0.3883, allocations: 3.139 MB / 463.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/0.3891, allocations: 36.47 kB / 463.5 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.3891, allocations: 32.55 kB / 463.5 MB, free: 5.957 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.0004755/0.3896, allocations: 268 kB / 463.8 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.3898, allocations: 89.69 kB / 463.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3908, allocations: 494.3 kB / 464.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3908, allocations: 4.344 kB / 464.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.3908, allocations: 5.078 kB / 464.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3908, allocations: 9.031 kB / 464.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.3932, allocations: 1.432 MB / 465.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3932, allocations: 2.031 kB / 465.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.3935, allocations: 65.5 kB / 465.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002303/0.3938, allocations: 80.02 kB / 466 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.3938, allocations: 8.469 kB / 466 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.3966, allocations: 3.13 MB / 469.1 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3966, allocations: 2.281 kB / 469.1 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.3981, allocations: 0.78 MB / 469.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/0.3985, allocations: 197.2 kB / 470.1 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.3986, allocations: 21.2 kB / 470.1 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.399, allocations: 26.17 kB / 470.1 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/0.3991, allocations: 30.92 kB / 470.2 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.3992, allocations: 14.56 kB / 470.2 MB, free: 336 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000938/0.4001, allocations: 0.565 MB / 470.7 MB, free: 4 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4001, allocations: 0 / 470.7 MB, free: 4 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001025/0.4011, allocations: 205.1 kB / 470.9 MB, free: 15.98 MB / 382.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.0002921/0.4014, allocations: 123.1 kB / 471.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.4028, allocations: 0.6697 MB / 471.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4028, allocations: 0 / 471.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006957/0.4035, allocations: 434.3 kB / 472.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.4047, allocations: 229.8 kB / 472.4 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.4081, allocations: 1.775 MB / 474.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.4088, allocations: 1.004 MB / 475.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.409, allocations: 65.8 kB / 475.2 MB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.409, allocations: 1.156 kB / 475.2 MB, free: 13 MB / 382.1 MB Notification: Performance of Templates: time 0.03101/0.44, allocations: 21.06 MB / 496.3 MB, free: 10.32 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 9.335113789013121]