Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2301, allocations: 50.55 MB / 410 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.008966/0.2391, allocations: 8.237 MB / 418.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004523/0.2437, allocations: 2.743 MB / 420.9 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009022/0.2446, allocations: 23.94 kB / 421 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.2461, allocations: 0.5597 MB / 421.5 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.2475, allocations: 480.2 kB / 422 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.2482, allocations: 275.6 kB / 422.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.25, allocations: 1.498 MB / 423.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008377/0.2508, allocations: 0.5925 MB / 424.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008379/0.2517, allocations: 0.5681 MB / 424.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008235/0.2525, allocations: 0.6105 MB / 425.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.2528, allocations: 140 kB / 425.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.2532, allocations: 195.8 kB / 425.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.2535, allocations: 279 kB / 426.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007735/0.2543, allocations: 0.6765 MB / 426.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.256, allocations: 1.769 MB / 428.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2561, allocations: 0 / 428.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2561, allocations: 0 / 428.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.978e-05/0.2561, allocations: 0 / 428.6 MB, free: 15.03 MB / 350.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.002797/0.2589, allocations: 1.476 MB / 430 MB, free: 13.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.259, allocations: 8.031 kB / 430.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007786/0.2598, allocations: 203.3 kB / 430.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.2611, allocations: 0.7658 MB / 431 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/0.2612, allocations: 74 kB / 431.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.2613, allocations: 99.91 kB / 431.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.2629, allocations: 0.9386 MB / 432.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.263, allocations: 7.984 kB / 432.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.279e-05/0.2631, allocations: 47.94 kB / 432.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.2631, allocations: 24 kB / 432.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.2644, allocations: 0.648 MB / 432.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005408/0.2698, allocations: 3.906 MB / 436.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/0.2705, allocations: 449.9 kB / 437.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005892/0.2711, allocations: 284.6 kB / 437.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.2712, allocations: 4 kB / 437.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.2712, allocations: 42.56 kB / 437.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.915e-06/0.2712, allocations: 0 / 437.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.003036/0.2743, allocations: 1.547 MB / 439.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.2743, allocations: 93.09 kB / 439.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.2755, allocations: 0.8449 MB / 440 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.2755, allocations: 29.7 kB / 440 MB, free: 3.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.2759, allocations: 0.5604 MB / 440.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.276, allocations: 157.8 kB / 440.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.2762, allocations: 130.5 kB / 440.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2763, allocations: 337.9 kB / 441.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.2767, allocations: 173.9 kB / 441.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/0.2772, allocations: 475.6 kB / 441.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009308/0.2782, allocations: 0.6684 MB / 442.5 MB, free: 296 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.2782, allocations: 4 kB / 442.5 MB, free: 292 kB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001354/0.2796, allocations: 0.7904 MB / 443.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2796, allocations: 12 kB / 443.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.2796, allocations: 8 kB / 443.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.2799, allocations: 85.88 kB / 443.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.2804, allocations: 155.7 kB / 443.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.2828, allocations: 3.149 MB / 446.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.2834, allocations: 35.98 kB / 446.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.2835, allocations: 36 kB / 446.8 MB, free: 11.71 MB / 366.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.0003791/0.2838, allocations: 269.5 kB / 447 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.284, allocations: 94.81 kB / 447.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009628/0.285, allocations: 0.5032 MB / 447.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.285, allocations: 0 / 447.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.285, allocations: 0 / 447.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.2853, allocations: 196 kB / 447.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.2854, allocations: 8 kB / 447.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.2858, allocations: 27.97 kB / 447.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.2859, allocations: 39.89 kB / 447.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001069/0.287, allocations: 0.5251 MB / 448.4 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001076/0.2881, allocations: 0.7613 MB / 449.2 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002777/0.2884, allocations: 159.9 kB / 449.3 MB, free: 9.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007431/0.2891, allocations: 0.5693 MB / 449.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of Backend: time 4.6e-07/0.2891, allocations: 0 / 449.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.2906, allocations: 0.6956 MB / 450.6 MB, free: 7.781 MB / 366.1 MB Notification: Performance of SimCode: time 0.00314/0.2937, allocations: 2.299 MB / 452.9 MB, free: 5.43 MB / 366.1 MB Notification: Performance of Templates: time 0.01981/0.3135, allocations: 11.73 MB / 464.6 MB, free: 9.812 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches