Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 112.7 kB / 17.75 MB, free: 5.18 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.001791/0.001791, allocations: 187 kB / 18.68 MB, free: 4.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 43.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2208, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.008472/0.2293, allocations: 8.223 MB / 409.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00365/0.233, allocations: 2.688 MB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.2334, allocations: 31.88 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.2347, allocations: 0.5831 MB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008307/0.2355, allocations: 0.5002 MB / 413.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.2359, allocations: 263.7 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.2372, allocations: 1.502 MB / 415.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007081/0.2379, allocations: 0.5808 MB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005571/0.2385, allocations: 0.572 MB / 416.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005997/0.2391, allocations: 0.6066 MB / 417 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.2393, allocations: 144 kB / 417.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.2396, allocations: 184 kB / 417.3 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.2398, allocations: 282.9 kB / 417.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.2403, allocations: 0.6765 MB / 418.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.2417, allocations: 1.748 MB / 420 MB, free: 6.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2417, allocations: 0 / 420 MB, free: 6.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.2418, allocations: 3.984 kB / 420 MB, free: 6.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.2418, allocations: 0 / 420 MB, free: 6.207 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002379/0.2442, allocations: 1.476 MB / 421.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2442, allocations: 11.89 kB / 421.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006559/0.2449, allocations: 191.2 kB / 421.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.246, allocations: 0.7658 MB / 422.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/0.2461, allocations: 74 kB / 422.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.2462, allocations: 103.9 kB / 422.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.2478, allocations: 0.9425 MB / 423.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.2479, allocations: 3.984 kB / 423.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.141e-05/0.248, allocations: 44 kB / 423.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.248, allocations: 24 kB / 423.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.2492, allocations: 0.6442 MB / 424.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004667/0.2539, allocations: 3.91 MB / 428.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006634/0.2546, allocations: 452.6 kB / 428.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/0.2552, allocations: 278.9 kB / 428.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.2552, allocations: 8 kB / 428.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.2553, allocations: 38.56 kB / 428.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.843e-06/0.2553, allocations: 0 / 428.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002945/0.2582, allocations: 1.552 MB / 430.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.2583, allocations: 85.11 kB / 430.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.2594, allocations: 0.8332 MB / 431.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.2595, allocations: 37.7 kB / 431.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/0.2599, allocations: 0.5643 MB / 432 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.26, allocations: 165.6 kB / 432.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.2602, allocations: 126.6 kB / 432.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2603, allocations: 337.9 kB / 432.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.2607, allocations: 181.8 kB / 432.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.2612, allocations: 463.6 kB / 433.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009295/0.2621, allocations: 0.6913 MB / 433.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2621, allocations: 4 kB / 433.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001416/0.2636, allocations: 0.7906 MB / 434.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2636, allocations: 8 kB / 434.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.2636, allocations: 12 kB / 434.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/0.2639, allocations: 77.94 kB / 434.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.2644, allocations: 159.7 kB / 435 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.2668, allocations: 3.138 MB / 438.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.2674, allocations: 52.03 kB / 438.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.2674, allocations: 32 kB / 438.2 MB, free: 2.891 MB / 350.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 (85): * Single equations (assignments): 83 * 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.0003857/0.2678, allocations: 269.5 kB / 438.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.2679, allocations: 86.91 kB / 438.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009762/0.2689, allocations: 0.5069 MB / 439.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.269, allocations: 3.984 kB / 439.1 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.269, allocations: 0 / 439.1 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.2692, allocations: 199.9 kB / 439.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.2693, allocations: 12 kB / 439.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.2698, allocations: 27.98 kB / 439.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.2699, allocations: 31.94 kB / 439.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001175/0.271, allocations: 0.5174 MB / 439.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001115/0.2722, allocations: 0.773 MB / 440.6 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002837/0.2725, allocations: 151.9 kB / 440.8 MB, free: 252 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007358/0.2732, allocations: 0.5733 MB / 441.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Backend: time 3.11e-07/0.2732, allocations: 0 / 441.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.2746, allocations: 0.6926 MB / 442 MB, free: 14.96 MB / 366.1 MB Notification: Performance of SimCode: time 0.00299/0.2776, allocations: 2.291 MB / 444.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of Templates: time 0.01887/0.2965, allocations: 11.68 MB / 456 MB, free: 1.066 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches