Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001662, allocations: 118.6 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.1 MB / 224.1 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 47.92 kB / 280.2 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1573, allocations: 46.63 MB / 326.8 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01493/0.1723, allocations: 8.004 MB / 334.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005067/0.1774, allocations: 2.635 MB / 337.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.1788, allocations: 23.94 kB / 337.4 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.1806, allocations: 0.4902 MB / 337.9 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.1827, allocations: 409.1 kB / 338.3 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.1834, allocations: 215.8 kB / 338.5 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002053/0.1855, allocations: 1.475 MB / 340 MB, free: 7.473 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008939/0.1864, allocations: 0.5845 MB / 340.6 MB, free: 6.867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008189/0.1872, allocations: 0.5563 MB / 341.2 MB, free: 6.309 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005685/0.1878, allocations: 0.595 MB / 341.8 MB, free: 5.711 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.188, allocations: 140 kB / 341.9 MB, free: 5.574 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.1883, allocations: 172 kB / 342.1 MB, free: 5.406 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.1885, allocations: 286.9 kB / 342.3 MB, free: 5.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006963/0.1892, allocations: 0.6609 MB / 343 MB, free: 4.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.1912, allocations: 1.701 MB / 344.7 MB, free: 2.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.1912, allocations: 0 / 344.7 MB, free: 2.754 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1912, allocations: 0 / 344.7 MB, free: 2.754 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.1912, allocations: 0 / 344.7 MB, free: 2.754 MB / 286.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.002758/0.194, allocations: 1.46 MB / 346.2 MB, free: 1.238 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.1941, allocations: 15.89 kB / 346.2 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007301/0.1948, allocations: 179.4 kB / 346.4 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.196, allocations: 0.7261 MB / 347.1 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/0.1961, allocations: 78 kB / 347.2 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.1963, allocations: 96 kB / 347.3 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.198, allocations: 0.9346 MB / 348.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.1981, allocations: 11.91 kB / 348.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.152e-05/0.1982, allocations: 40 kB / 348.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.1982, allocations: 24 kB / 348.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.1994, allocations: 0.6325 MB / 348.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005087/0.2045, allocations: 3.919 MB / 352.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.2052, allocations: 436.7 kB / 353.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.2057, allocations: 265.4 kB / 353.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.2058, allocations: 4.328 kB / 353.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.2058, allocations: 42.81 kB / 353.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.2058, allocations: 0 / 353.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002674/0.2085, allocations: 1.399 MB / 354.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.2086, allocations: 81.11 kB / 355 MB, free: 7.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.2097, allocations: 0.8291 MB / 355.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.2097, allocations: 33.7 kB / 355.9 MB, free: 7.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000444/0.2102, allocations: 0.5565 MB / 356.4 MB, free: 6.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.2103, allocations: 161.7 kB / 356.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.2105, allocations: 126.5 kB / 356.7 MB, free: 6.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2106, allocations: 337.9 kB / 357.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.2109, allocations: 165.9 kB / 357.2 MB, free: 5.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.2115, allocations: 467.9 kB / 357.7 MB, free: 5.125 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000859/0.2123, allocations: 0.6544 MB / 358.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.2124, allocations: 4 kB / 358.3 MB, free: 4.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001257/0.2136, allocations: 0.7591 MB / 359.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.2137, allocations: 11.94 kB / 359.1 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.2137, allocations: 19.94 kB / 359.1 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.214, allocations: 89.61 kB / 359.2 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.2144, allocations: 147.8 kB / 359.4 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.2169, allocations: 3.146 MB / 362.5 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.2175, allocations: 31.98 kB / 362.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.2176, allocations: 40.06 kB / 362.6 MB, free: 15.8 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.0004135/0.218, allocations: 268.1 kB / 362.8 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.2181, allocations: 86.88 kB / 362.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009057/0.219, allocations: 499.4 kB / 363.4 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.219, allocations: 8 kB / 363.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2191, allocations: 0 / 363.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.2191, allocations: 3.984 kB / 363.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.2212, allocations: 1.434 MB / 364.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2212, allocations: 4 kB / 364.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.2215, allocations: 71.89 kB / 364.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.2217, allocations: 69.81 kB / 365 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.2217, allocations: 12 kB / 365 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/0.2242, allocations: 3.122 MB / 368.1 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2243, allocations: 0 / 368.1 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.2254, allocations: 0.7612 MB / 368.9 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.2258, allocations: 200 kB / 369.1 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/0.2259, allocations: 15.94 kB / 369.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.2263, allocations: 23.98 kB / 369.1 MB, free: 8.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/0.2264, allocations: 35.95 kB / 369.2 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.2264, allocations: 15.94 kB / 369.2 MB, free: 8.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008139/0.2272, allocations: 0.5615 MB / 369.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2272, allocations: 4 kB / 369.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009374/0.2282, allocations: 207.9 kB / 369.9 MB, free: 7.977 MB / 318.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.0002649/0.2285, allocations: 119.2 kB / 370.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.2298, allocations: 0.6985 MB / 370.8 MB, free: 7.125 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2298, allocations: 0 / 370.8 MB, free: 7.125 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000635/0.2305, allocations: 441.9 kB / 371.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.2317, allocations: 239.4 kB / 371.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.2347, allocations: 2.125 MB / 373.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.2354, allocations: 1.013 MB / 374.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004768/0.2359, allocations: 107.2 kB / 374.7 MB, free: 3.109 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.2361, allocations: 55.44 kB / 374.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2361, allocations: 4 kB / 374.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Templates: time 0.2336/0.4697, allocations: 10.44 MB / 385.2 MB, free: 50.77 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches