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.0009288/0.0009288, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009162/0.0009162, allocations: 164.4 kB / 24.91 MB, free: 8.715 MB / 18.57 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 0.8713/0.8713, allocations: 177 MB / 205.2 MB, free: 5.016 MB / 186.7 MB " [Timeout remaining time 179] 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.183e-06/1.183e-06, allocations: 0 / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.118e-05, allocations: 9.266 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.00603/0.006041, allocations: 7.876 MB / 281.3 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.009119, allocations: 2.684 MB / 284 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.009492, allocations: 27.88 kB / 284 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008772/0.01037, allocations: 0.5479 MB / 284.5 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006434/0.01101, allocations: 0.5116 MB / 285 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.01132, allocations: 255.6 kB / 285.3 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009971/0.01231, allocations: 1.54 MB / 286.8 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004086/0.01272, allocations: 383.2 kB / 287.2 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008522/0.01357, allocations: 0.8651 MB / 288.1 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004105/0.01398, allocations: 474.6 kB / 288.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.01409, allocations: 136 kB / 288.7 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.01428, allocations: 175.9 kB / 288.8 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.01441, allocations: 282.9 kB / 289.1 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.01471, allocations: 470.8 kB / 289.6 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.09193/0.1066, allocations: 0.9179 MB / 290.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1066, allocations: 0.5625 kB / 290.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1067, allocations: 0 / 290.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.907e-05/0.1067, allocations: 0 / 290.5 MB, free: 19.09 MB / 266.7 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.001378/0.1081, allocations: 1.361 MB / 291.8 MB, free: 18.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.1081, allocations: 13.42 kB / 291.9 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/0.1085, allocations: 234.2 kB / 292.1 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006182/0.1091, allocations: 0.5295 MB / 292.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.1092, allocations: 75.19 kB / 292.7 MB, free: 18.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.943e-05/0.1093, allocations: 104.8 kB / 292.8 MB, free: 18.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/0.1099, allocations: 0.7637 MB / 293.6 MB, free: 17.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.11, allocations: 10.81 kB / 293.6 MB, free: 17.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.11, allocations: 38.66 kB / 293.6 MB, free: 17.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.11, allocations: 27.06 kB / 293.6 MB, free: 17.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.1103, allocations: 240.4 kB / 293.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.1127, allocations: 2.938 MB / 296.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.113, allocations: 234.4 kB / 297 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.1132, allocations: 177.3 kB / 297.2 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1133, allocations: 11.52 kB / 297.2 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1133, allocations: 40.39 kB / 297.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.533e-06/0.1133, allocations: 0 / 297.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009993/0.1143, allocations: 0.7416 MB / 298 MB, free: 15.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.1143, allocations: 91.67 kB / 298.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.1148, allocations: 0.6507 MB / 298.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1148, allocations: 35.11 kB / 298.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.115, allocations: 0.4912 MB / 299.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.115, allocations: 163.7 kB / 299.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1151, allocations: 133.2 kB / 299.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.1152, allocations: 398.5 kB / 299.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.1153, allocations: 59.7 kB / 300 MB, free: 14.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1154, allocations: 389.1 kB / 300.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.1157, allocations: 0.49 MB / 300.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1157, allocations: 2.344 kB / 300.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0004955/0.1162, allocations: 491.1 kB / 301.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1162, allocations: 9.594 kB / 301.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1163, allocations: 8.688 kB / 301.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/0.1164, allocations: 71.5 kB / 301.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.1166, allocations: 156 kB / 301.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008058/0.1175, allocations: 2.598 MB / 304.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.1177, allocations: 31.88 kB / 304.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.1177, allocations: 30.73 kB / 304.3 MB, free: 11.71 MB / 266.7 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.0001239/0.1178, allocations: 171.5 kB / 304.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.1179, allocations: 59.59 kB / 304.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.1182, allocations: 296.3 kB / 304.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1182, allocations: 4.125 kB / 304.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1182, allocations: 1.938 kB / 304.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1182, allocations: 3.438 kB / 304.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007612/0.119, allocations: 0.7561 MB / 305.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.119, allocations: 8.953 kB / 305.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.1191, allocations: 68.02 kB / 305.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.1192, allocations: 63.38 kB / 305.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1192, allocations: 10.94 kB / 305.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000697/0.1199, allocations: 2.578 MB / 308.3 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1199, allocations: 4.234 kB / 308.3 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.1203, allocations: 493.1 kB / 308.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.1204, allocations: 71.86 kB / 308.8 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.1205, allocations: 11.91 kB / 308.8 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1206, allocations: 21.19 kB / 308.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.1207, allocations: 39.06 kB / 308.9 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1207, allocations: 15.47 kB / 308.9 MB, free: 8.523 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.1209, allocations: 314.1 kB / 309.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1209, allocations: 1.594 kB / 309.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004468/0.1214, allocations: 202.1 kB / 309.4 MB, free: 8.496 MB / 266.7 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.0001157/0.1215, allocations: 103.5 kB / 309.5 MB, free: 8.422 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.1219, allocations: 0.5392 MB / 310.1 MB, free: 8.172 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/0.1219, allocations: 11.09 kB / 310.1 MB, free: 8.172 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.1221, allocations: 360.2 kB / 310.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.1225, allocations: 205.4 kB / 310.6 MB, free: 7.926 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.124, allocations: 1.561 MB / 312.2 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.294e-05/0.1241, allocations: 174 kB / 312.3 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000189/0.1243, allocations: 96.16 kB / 312.4 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.1245, allocations: 231.9 kB / 312.7 MB, free: 6.91 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1245, allocations: 4 kB / 312.7 MB, free: 6.906 MB / 266.7 MB Notification: Performance of Templates: time 0.01177/0.1363, allocations: 10.85 MB / 323.5 MB, free: 13.53 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.755512751173228]