Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002016/0.002016, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.378/1.378, allocations: 230.4 MB / 258.1 MB, free: 8.125 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 71.83 kB / 378.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2163, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01045/0.2267, allocations: 8.315 MB / 440.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.2309, allocations: 2.758 MB / 443.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004165/0.2313, allocations: 27.94 kB / 443.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.2326, allocations: 0.5754 MB / 443.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008933/0.2334, allocations: 0.5002 MB / 444.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.2339, allocations: 279.6 kB / 444.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.2354, allocations: 1.506 MB / 446 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006316/0.2361, allocations: 406.9 kB / 446.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006776/0.2367, allocations: 0.5681 MB / 447 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007421/0.2375, allocations: 0.6144 MB / 447.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.2377, allocations: 140 kB / 447.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.238, allocations: 184 kB / 447.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.2382, allocations: 290.9 kB / 448.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.2388, allocations: 0.6725 MB / 448.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.2407, allocations: 1.768 MB / 450.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2407, allocations: 0 / 450.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2407, allocations: 0 / 450.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.2407, allocations: 0 / 450.6 MB, free: 4.68 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.002483/0.2432, allocations: 1.518 MB / 452.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2432, allocations: 8.031 kB / 452.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007511/0.244, allocations: 212 kB / 452.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.2452, allocations: 0.7665 MB / 453.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/0.2453, allocations: 77.94 kB / 453.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.2454, allocations: 103.9 kB / 453.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.247, allocations: 0.9386 MB / 454.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.247, allocations: 11.91 kB / 454.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.72e-05/0.2471, allocations: 44 kB / 454.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.2472, allocations: 24 kB / 454.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.2485, allocations: 0.6442 MB / 455 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00516/0.2536, allocations: 3.928 MB / 458.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/0.2544, allocations: 427.6 kB / 459.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.255, allocations: 260.7 kB / 459.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.255, allocations: 8 kB / 459.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.2551, allocations: 38.56 kB / 459.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.453e-06/0.2551, allocations: 0 / 459.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003055/0.2581, allocations: 1.568 MB / 461.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.2582, allocations: 81.11 kB / 461.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.2593, allocations: 0.845 MB / 462.1 MB, free: 8.695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.2593, allocations: 29.7 kB / 462.1 MB, free: 8.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.2598, allocations: 0.5775 MB / 462.7 MB, free: 8.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.2599, allocations: 174.5 kB / 462.9 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.2601, allocations: 134.6 kB / 463 MB, free: 7.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2603, allocations: 341.9 kB / 463.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.2606, allocations: 165.9 kB / 463.5 MB, free: 7.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.2612, allocations: 475.6 kB / 464 MB, free: 6.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.2623, allocations: 0.6684 MB / 464.6 MB, free: 5.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.2623, allocations: 7.984 kB / 464.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001406/0.2637, allocations: 0.7947 MB / 465.5 MB, free: 5.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2637, allocations: 8 kB / 465.5 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.2637, allocations: 12 kB / 465.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/0.264, allocations: 77.94 kB / 465.5 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.2645, allocations: 159.7 kB / 465.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.2671, allocations: 3.146 MB / 468.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.2677, allocations: 44 kB / 468.9 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.2677, allocations: 36 kB / 468.9 MB, free: 1.281 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.0003433/0.2681, allocations: 261.5 kB / 469.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.2682, allocations: 95.38 kB / 469.3 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.2692, allocations: 0.4993 MB / 469.8 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2692, allocations: 3.984 kB / 469.8 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2692, allocations: 3.938 kB / 469.8 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002732/0.2695, allocations: 204.4 kB / 470 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.2696, allocations: 12 kB / 470 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.27, allocations: 27.98 kB / 470 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.2701, allocations: 31.94 kB / 470.1 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001214/0.2713, allocations: 0.5252 MB / 470.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001229/0.2725, allocations: 0.7774 MB / 471.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003093/0.2728, allocations: 143.9 kB / 471.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007735/0.2736, allocations: 0.5693 MB / 472.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of Backend: time 1.6e-07/0.2736, allocations: 0 / 472.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.275, allocations: 0.6658 MB / 472.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of SimCode: time 0.00327/0.2783, allocations: 2.341 MB / 475.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Templates: time 0.02178/0.3001, allocations: 12.13 MB / 487.2 MB, free: 14.99 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.610544094350189]