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.001054/0.001054, allocations: 106.3 kB / 17.74 MB, free: 5.332 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.001016/0.001016, allocations: 185.4 kB / 18.67 MB, free: 4.41 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.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009054/0.0009054, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.238, allocations: 49.43 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.008387/0.2464, allocations: 8.224 MB / 409.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004075/0.2505, allocations: 2.7 MB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005178/0.251, allocations: 23.94 kB / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.2523, allocations: 0.5753 MB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008733/0.2532, allocations: 0.5002 MB / 413.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.2536, allocations: 271.6 kB / 413.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.2548, allocations: 1.504 MB / 415.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006723/0.2555, allocations: 0.5847 MB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000538/0.256, allocations: 0.5642 MB / 416.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.2566, allocations: 0.6105 MB / 417 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.2568, allocations: 140 kB / 417.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.2571, allocations: 180 kB / 417.3 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.2573, allocations: 282.9 kB / 417.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000574/0.2579, allocations: 0.6843 MB / 418.2 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.2596, allocations: 1.763 MB / 420 MB, free: 6.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2596, allocations: 0 / 420 MB, free: 6.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.2596, allocations: 0 / 420 MB, free: 6.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.2597, allocations: 0 / 420 MB, free: 6.199 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.002136/0.2618, allocations: 1.516 MB / 421.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2618, allocations: 11.89 kB / 421.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/0.2625, allocations: 196 kB / 421.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.2635, allocations: 0.7742 MB / 422.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.2636, allocations: 74 kB / 422.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.2637, allocations: 96 kB / 422.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.2651, allocations: 0.9424 MB / 423.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.2652, allocations: 11.95 kB / 423.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.2653, allocations: 40 kB / 423.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.2653, allocations: 24 kB / 423.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.2665, allocations: 0.6481 MB / 424.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00448/0.271, allocations: 3.927 MB / 428.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.2716, allocations: 441.6 kB / 428.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005711/0.2722, allocations: 276.7 kB / 429 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.2722, allocations: 4 kB / 429 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.2723, allocations: 38.56 kB / 429 MB, free: 12.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.824e-06/0.2723, allocations: 0 / 429 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.00262/0.2749, allocations: 1.578 MB / 430.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.275, allocations: 85.11 kB / 430.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009891/0.2759, allocations: 0.845 MB / 431.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.276, allocations: 29.7 kB / 431.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.2764, allocations: 0.5775 MB / 432.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.2765, allocations: 166.6 kB / 432.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.2766, allocations: 130.6 kB / 432.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2767, allocations: 333.9 kB / 432.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.2771, allocations: 181.9 kB / 432.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.2776, allocations: 471.6 kB / 433.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/0.2785, allocations: 0.6796 MB / 434 MB, free: 7.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.2785, allocations: 4 kB / 434 MB, free: 7.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00124/0.2797, allocations: 0.7911 MB / 434.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2797, allocations: 8 kB / 434.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2798, allocations: 12 kB / 434.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.28, allocations: 81.94 kB / 434.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.2805, allocations: 155.7 kB / 435.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.2827, allocations: 3.15 MB / 438.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.2832, allocations: 39.94 kB / 438.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.2832, allocations: 40.06 kB / 438.3 MB, free: 2.785 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.0003138/0.2835, allocations: 257.6 kB / 438.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.2837, allocations: 99.31 kB / 438.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009444/0.2846, allocations: 0.503 MB / 439.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2846, allocations: 4 kB / 439.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2846, allocations: 0 / 439.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.2849, allocations: 204.4 kB / 439.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.285, allocations: 8 kB / 439.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.2854, allocations: 31.97 kB / 439.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.2855, allocations: 31.95 kB / 439.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00108/0.2866, allocations: 0.5175 MB / 440 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001056/0.2876, allocations: 0.7735 MB / 440.7 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002901/0.2879, allocations: 159.9 kB / 440.9 MB, free: 136 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007002/0.2886, allocations: 0.5693 MB / 441.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Backend: time 3.1e-07/0.2887, allocations: 0 / 441.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.29, allocations: 0.6929 MB / 442.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of SimCode: time 0.002907/0.2929, allocations: 2.326 MB / 444.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of Templates: time 0.0205/0.3134, allocations: 11.68 MB / 456.2 MB, free: 0.9219 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