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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 223.8 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000997/0.0009969, allocations: 99.95 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008295/0.0008296, allocations: 39.95 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2079, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.007041/0.215, allocations: 8.011 MB / 381.8 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.2181, allocations: 2.642 MB / 384.5 MB, free: 37.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.2186, allocations: 23.34 kB / 384.5 MB, free: 37.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.2197, allocations: 0.4978 MB / 385 MB, free: 36.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006169/0.2203, allocations: 407.7 kB / 385.4 MB, free: 36.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.2206, allocations: 223.3 kB / 385.6 MB, free: 36.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009956/0.2216, allocations: 1.412 MB / 387 MB, free: 35.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005643/0.2222, allocations: 0.4947 MB / 387.5 MB, free: 35.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004841/0.2227, allocations: 0.5045 MB / 388 MB, free: 34.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004575/0.2232, allocations: 0.5574 MB / 388.6 MB, free: 34.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.2233, allocations: 84.62 kB / 388.7 MB, free: 34.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.2235, allocations: 127.3 kB / 388.8 MB, free: 34.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.2237, allocations: 226.9 kB / 389 MB, free: 34.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.2241, allocations: 0.6141 MB / 389.6 MB, free: 33.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009601/0.225, allocations: 1.655 MB / 391.3 MB, free: 31.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.225, allocations: 0 / 391.3 MB, free: 31.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.225, allocations: 3.938 kB / 391.3 MB, free: 31.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2251, allocations: 0 / 391.3 MB, free: 31.98 MB / 298.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.001864/0.2269, allocations: 1.453 MB / 392.7 MB, free: 30.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.227, allocations: 8.031 kB / 392.7 MB, free: 30.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005112/0.2275, allocations: 187.3 kB / 392.9 MB, free: 30.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008082/0.2283, allocations: 0.73 MB / 393.7 MB, free: 29.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.2284, allocations: 70 kB / 393.7 MB, free: 29.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-05/0.2285, allocations: 103.9 kB / 393.8 MB, free: 29.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.2296, allocations: 0.9385 MB / 394.8 MB, free: 28.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.2296, allocations: 8 kB / 394.8 MB, free: 28.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.939e-05/0.2297, allocations: 40 kB / 394.8 MB, free: 28.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.2297, allocations: 24 kB / 394.8 MB, free: 28.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.2306, allocations: 0.6325 MB / 395.5 MB, free: 27.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.234, allocations: 3.926 MB / 399.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.2346, allocations: 432.6 kB / 399.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004425/0.235, allocations: 266 kB / 400.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.2351, allocations: 4.328 kB / 400.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.2351, allocations: 38.88 kB / 400.1 MB, free: 22.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.613e-06/0.2351, allocations: 0 / 400.1 MB, free: 22.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.002096/0.2372, allocations: 1.395 MB / 401.5 MB, free: 21.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.2372, allocations: 81.11 kB / 401.6 MB, free: 21.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/0.238, allocations: 0.8291 MB / 402.4 MB, free: 20.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.238, allocations: 37.7 kB / 402.5 MB, free: 20.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.2383, allocations: 0.5525 MB / 403 MB, free: 19.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.988e-05/0.2383, allocations: 161.7 kB / 403.2 MB, free: 19.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.2385, allocations: 126.6 kB / 403.3 MB, free: 19.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.2385, allocations: 333.9 kB / 403.6 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.2388, allocations: 169.9 kB / 403.8 MB, free: 18.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.2392, allocations: 464 kB / 404.2 MB, free: 18.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/0.2398, allocations: 0.6583 MB / 404.9 MB, free: 17.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2398, allocations: 4 kB / 404.9 MB, free: 17.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009457/0.2408, allocations: 0.7628 MB / 405.7 MB, free: 16.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2408, allocations: 16.06 kB / 405.7 MB, free: 16.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2408, allocations: 8 kB / 405.7 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.241, allocations: 93.55 kB / 405.8 MB, free: 16.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.2414, allocations: 151.8 kB / 405.9 MB, free: 16.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.2429, allocations: 2.864 MB / 408.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.2434, allocations: 36.05 kB / 408.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.2434, allocations: 39.94 kB / 408.9 MB, free: 13.32 MB / 298.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.0003068/0.2438, allocations: 258.4 kB / 409.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.433e-05/0.2439, allocations: 83.09 kB / 409.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007306/0.2446, allocations: 495.6 kB / 409.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.2446, allocations: 11.98 kB / 409.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2446, allocations: 4 kB / 409.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2446, allocations: 7.922 kB / 409.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.2462, allocations: 1.44 MB / 411.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2462, allocations: 4 kB / 411.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.2464, allocations: 71.89 kB / 411.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001589/0.2466, allocations: 73.89 kB / 411.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.2466, allocations: 12 kB / 411.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.248, allocations: 2.852 MB / 414.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.248, allocations: 0 / 414.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005688/0.2537, allocations: 6.575 MB / 420.7 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.2539, allocations: 196.3 kB / 420.9 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.254, allocations: 16 kB / 420.9 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.2544, allocations: 23.98 kB / 421 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.2544, allocations: 31.95 kB / 421 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.2545, allocations: 19.94 kB / 421 MB, free: 320 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006195/0.2551, allocations: 0.5576 MB / 421.6 MB, free: 15.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2551, allocations: 4 kB / 421.6 MB, free: 15.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009847/0.2561, allocations: 300 kB / 421.9 MB, free: 15.46 MB / 314.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.0001958/0.2563, allocations: 127 kB / 422 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.2573, allocations: 0.6748 MB / 422.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2574, allocations: 8.062 kB / 422.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005581/0.2579, allocations: 437.7 kB / 423.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.259, allocations: 212.3 kB / 423.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.2622, allocations: 2.666 MB / 426 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.2627, allocations: 1.021 MB / 427 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003941/0.2631, allocations: 103.2 kB / 427.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.2633, allocations: 55.44 kB / 427.2 MB, free: 10 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2633, allocations: 4 kB / 427.2 MB, free: 9.996 MB / 314.7 MB Notification: Performance of Templates: time 0.01947/0.2827, allocations: 11.26 MB / 438.4 MB, free: 14.75 MB / 330.7 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@2/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