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.001911/0.001911, allocations: 86.56 kB / 20.68 MB, free: 1.035 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.00221/0.00221, allocations: 158.6 kB / 23.95 MB, free: 4.168 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.555/1.555, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.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 1.413e-06/1.413e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.317e-05, allocations: 3.375 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009497/0.00952, allocations: 7.158 MB / 332.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005161/0.01468, allocations: 2.501 MB / 334.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.01579, allocations: 27.72 kB / 334.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.01762, allocations: 0.5241 MB / 335.2 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.01928, allocations: 0.5148 MB / 335.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.01986, allocations: 252.1 kB / 336 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.02178, allocations: 1.537 MB / 337.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006522/0.02243, allocations: 375.5 kB / 337.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.02373, allocations: 0.8643 MB / 338.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/0.02437, allocations: 438.3 kB / 339.2 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.02453, allocations: 138.9 kB / 339.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.02488, allocations: 171.4 kB / 339.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.02515, allocations: 286.9 kB / 339.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.02567, allocations: 462.8 kB / 340.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.02755, allocations: 1.729 MB / 342 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.02755, allocations: 4 kB / 342 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02756, allocations: 0 / 342 MB, free: 4.074 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.02757, allocations: 0 / 342 MB, free: 4.074 MB / 302.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.002404/0.02997, allocations: 1.388 MB / 343.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.03001, allocations: 15.98 kB / 343.4 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006726/0.03069, allocations: 192 kB / 343.5 MB, free: 2.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.03192, allocations: 0.6806 MB / 344.2 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.03198, allocations: 74 kB / 344.3 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.03214, allocations: 107.9 kB / 344.4 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.03387, allocations: 1.035 MB / 345.4 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.03391, allocations: 0 / 345.4 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.989e-05/0.034, allocations: 47.94 kB / 345.5 MB, free: 436 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.03402, allocations: 28 kB / 345.5 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.03535, allocations: 0.6286 MB / 346.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005114/0.04046, allocations: 3.35 MB / 349.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/0.04124, allocations: 339.3 kB / 349.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006297/0.04187, allocations: 253.4 kB / 350.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.04191, allocations: 4.328 kB / 350.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.04195, allocations: 42.88 kB / 350.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.073e-06/0.04195, allocations: 0 / 350.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.002918/0.04487, allocations: 1.249 MB / 351.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.04494, allocations: 85.09 kB / 351.5 MB, free: 10.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.04605, allocations: 0.762 MB / 352.2 MB, free: 9.414 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.04608, allocations: 33.7 kB / 352.2 MB, free: 9.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000461/0.04654, allocations: 0.5851 MB / 352.8 MB, free: 8.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.04668, allocations: 162.6 kB / 353 MB, free: 8.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.04688, allocations: 134.6 kB / 353.1 MB, free: 8.484 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.04711, allocations: 382.8 kB / 353.5 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.04747, allocations: 161.9 kB / 353.7 MB, free: 7.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/0.04824, allocations: 485.7 kB / 354.1 MB, free: 7.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.04933, allocations: 0.6661 MB / 354.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.04934, allocations: 0 / 354.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001415/0.05075, allocations: 0.7632 MB / 355.6 MB, free: 5.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.05078, allocations: 8 kB / 355.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.05079, allocations: 12 kB / 355.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/0.05108, allocations: 89.92 kB / 355.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.0516, allocations: 151.7 kB / 355.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.05439, allocations: 2.874 MB / 358.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/0.05506, allocations: 35.94 kB / 358.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.05512, allocations: 32 kB / 358.8 MB, free: 2.34 MB / 318.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.0004898/0.05561, allocations: 257.7 kB / 359 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.05574, allocations: 87.48 kB / 359.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.05681, allocations: 490.6 kB / 359.6 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.05681, allocations: 4 kB / 359.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.05682, allocations: 7.984 kB / 359.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.05683, allocations: 3.938 kB / 359.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.05892, allocations: 1.189 MB / 360.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.05892, allocations: 224 / 360.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.05924, allocations: 75.84 kB / 360.8 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/0.05947, allocations: 73.67 kB / 360.9 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.0595, allocations: 8.047 kB / 360.9 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.06225, allocations: 2.87 MB / 363.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.06226, allocations: 0 / 363.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.0637, allocations: 0.7637 MB / 364.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.06403, allocations: 115.5 kB / 364.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/0.06412, allocations: 8 kB / 364.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.06456, allocations: 31.98 kB / 364.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.06465, allocations: 35.88 kB / 364.7 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.06468, allocations: 15.94 kB / 364.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007693/0.06545, allocations: 0.5069 MB / 365.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.06545, allocations: 0 / 365.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009025/0.06635, allocations: 203.9 kB / 365.5 MB, free: 11.28 MB / 334.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.0002646/0.06662, allocations: 123.2 kB / 365.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.06793, allocations: 0.666 MB / 366.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.06793, allocations: 0 / 366.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007354/0.06867, allocations: 430.5 kB / 366.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.06976, allocations: 213.6 kB / 366.9 MB, free: 9.816 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.07297, allocations: 1.628 MB / 368.5 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.07343, allocations: 421.4 kB / 368.9 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003801/0.07381, allocations: 98.69 kB / 369 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.07395, allocations: 52.5 kB / 369.1 MB, free: 7.547 MB / 334.1 MB Notification: Performance of SimCode: time 1.472e-06/0.07395, allocations: 0 / 369.1 MB, free: 7.547 MB / 334.1 MB Notification: Performance of Templates: time 0.02216/0.09611, allocations: 10.02 MB / 379.1 MB, free: 13.7 MB / 350.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: 4.948594566434622]