Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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_SinglePhase,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_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_3.2.3_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.00159/0.00159, allocations: 112.3 kB / 18.41 MB, free: 4.688 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.001827/0.001827, allocations: 190.1 kB / 19.35 MB, free: 3.762 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.264/1.264, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001191/0.001191, allocations: 43.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0712/0.0724, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.1537/0.2261, allocations: 8.172 MB / 384 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004011/0.2302, allocations: 2.734 MB / 386.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008835/0.2311, allocations: 24.12 kB / 386.8 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.2325, allocations: 0.5868 MB / 387.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.2336, allocations: 0.5048 MB / 387.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.2341, allocations: 257.6 kB / 388.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.2352, allocations: 1.501 MB / 389.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006717/0.2359, allocations: 0.5773 MB / 390.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005442/0.2365, allocations: 0.5719 MB / 390.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/0.2371, allocations: 0.6087 MB / 391.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.2372, allocations: 144 kB / 391.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.2376, allocations: 185.7 kB / 391.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.2378, allocations: 283.2 kB / 392 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005076/0.2383, allocations: 0.6755 MB / 392.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.2399, allocations: 1.758 MB / 394.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.2399, allocations: 0.5625 kB / 394.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2399, allocations: 0 / 394.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.24, allocations: 4 kB / 394.4 MB, free: 3.867 MB / 318.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.002092/0.2421, allocations: 1.508 MB / 395.9 MB, free: 2.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2421, allocations: 12.62 kB / 395.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006421/0.2428, allocations: 200.6 kB / 396.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.2438, allocations: 0.7627 MB / 396.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.2439, allocations: 73.47 kB / 397 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.244, allocations: 100.3 kB / 397.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.2455, allocations: 0.9513 MB / 398 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.2456, allocations: 3.484 kB / 398 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-05/0.2456, allocations: 39.91 kB / 398 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.2457, allocations: 28.84 kB / 398.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.2469, allocations: 0.6539 MB / 398.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004587/0.2515, allocations: 3.92 MB / 402.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.2522, allocations: 445.8 kB / 403.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/0.2528, allocations: 289.4 kB / 403.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.2529, allocations: 3.531 kB / 403.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.2529, allocations: 39 kB / 403.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.254e-06/0.2529, allocations: 0 / 403.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002925/0.2559, allocations: 1.564 MB / 405 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.2559, allocations: 81.98 kB / 405.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.257, allocations: 0.8417 MB / 405.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.2571, allocations: 36.02 kB / 405.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.2575, allocations: 0.5768 MB / 406.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.2576, allocations: 171.6 kB / 406.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.2578, allocations: 133 kB / 406.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2579, allocations: 332.7 kB / 407.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.2583, allocations: 171.5 kB / 407.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.2589, allocations: 480.2 kB / 407.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009381/0.2598, allocations: 0.6798 MB / 408.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.2598, allocations: 7.344 kB / 408.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001363/0.2612, allocations: 0.7885 MB / 409.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2612, allocations: 13.66 kB / 409.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.2612, allocations: 9.281 kB / 409.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/0.2615, allocations: 83.42 kB / 409.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.262, allocations: 159.5 kB / 409.5 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.2644, allocations: 3.155 MB / 412.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.265, allocations: 41.06 kB / 412.7 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.265, allocations: 37.03 kB / 412.7 MB, free: 6.668 MB / 334.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.0003443/0.2654, allocations: 260.9 kB / 413 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2655, allocations: 98.3 kB / 413.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009808/0.2665, allocations: 0.4941 MB / 413.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2665, allocations: 5.219 kB / 413.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2665, allocations: 0 / 413.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.2668, allocations: 208.9 kB / 413.8 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.2669, allocations: 6.844 kB / 413.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.2673, allocations: 29.56 kB / 413.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.2674, allocations: 35.83 kB / 413.9 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001141/0.2686, allocations: 0.5235 MB / 414.4 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001137/0.2697, allocations: 0.7688 MB / 415.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002949/0.27, allocations: 159.1 kB / 415.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007642/0.2708, allocations: 0.5738 MB / 415.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of Backend: time 5.91e-07/0.2708, allocations: 4 kB / 415.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.2722, allocations: 0.6863 MB / 416.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of SimCode: time 0.002968/0.2752, allocations: 2.315 MB / 418.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of Templates: time 0.01921/0.2944, allocations: 11.69 MB / 430.6 MB, free: 7.746 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches