Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 118 kB / 18.46 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 254.8 MB, free: 15.23 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 51.92 kB / 374.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1113, allocations: 53.34 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01063/0.122, allocations: 8.274 MB / 435.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005227/0.1272, allocations: 2.754 MB / 438.5 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.1282, allocations: 35.81 kB / 438.6 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.1298, allocations: 0.5676 MB / 439.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.1313, allocations: 0.515 MB / 439.6 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.1319, allocations: 267.7 kB / 439.9 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001806/0.1337, allocations: 1.502 MB / 441.4 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.1344, allocations: 402.9 kB / 441.8 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007962/0.1351, allocations: 0.5953 MB / 442.4 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007446/0.1359, allocations: 0.6105 MB / 443 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.1361, allocations: 143.9 kB / 443.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.1364, allocations: 184 kB / 443.3 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.1366, allocations: 287 kB / 443.6 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007147/0.1374, allocations: 0.6765 MB / 444.3 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.1394, allocations: 1.766 MB / 446.1 MB, free: 1.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1394, allocations: 4 kB / 446.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1394, allocations: 0 / 446.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.1394, allocations: 0 / 446.1 MB, free: 1.625 MB / 366.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.002542/0.1419, allocations: 1.514 MB / 447.6 MB, free: 60 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.142, allocations: 8.031 kB / 447.6 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1946/0.3365, allocations: 202.6 kB / 447.8 MB, free: 24.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.3379, allocations: 0.7659 MB / 448.5 MB, free: 24.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.338, allocations: 70.47 kB / 448.6 MB, free: 24.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.3381, allocations: 100.8 kB / 448.7 MB, free: 24.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.3395, allocations: 0.9469 MB / 449.7 MB, free: 24.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.3396, allocations: 6.875 kB / 449.7 MB, free: 24.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.3396, allocations: 39.16 kB / 449.7 MB, free: 24.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.3397, allocations: 24.22 kB / 449.7 MB, free: 24.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.3408, allocations: 0.654 MB / 450.4 MB, free: 23.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004685/0.3455, allocations: 3.915 MB / 454.3 MB, free: 21.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.3461, allocations: 433.8 kB / 454.7 MB, free: 21.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005996/0.3467, allocations: 256.8 kB / 455 MB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.3468, allocations: 4.844 kB / 455 MB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3468, allocations: 40.89 kB / 455 MB, free: 20.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 3.397e-06/0.3468, allocations: 1.516 kB / 455 MB, free: 20.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002927/0.3497, allocations: 1.567 MB / 456.6 MB, free: 20.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.3498, allocations: 85.02 kB / 456.7 MB, free: 19.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.3509, allocations: 0.8371 MB / 457.5 MB, free: 19.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.3509, allocations: 31.92 kB / 457.5 MB, free: 19.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.3512, allocations: 0.5848 MB / 458.1 MB, free: 19.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/0.3513, allocations: 171 kB / 458.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.3515, allocations: 130.9 kB / 458.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.3515, allocations: 338.2 kB / 458.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.3519, allocations: 177 kB / 458.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/0.3524, allocations: 472.6 kB / 459.4 MB, free: 18.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.3532, allocations: 0.6798 MB / 460.1 MB, free: 17.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3532, allocations: 2.594 kB / 460.1 MB, free: 17.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001301/0.3545, allocations: 0.7877 MB / 460.8 MB, free: 17.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3545, allocations: 9.906 kB / 460.9 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.3546, allocations: 9.906 kB / 460.9 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002662/0.3548, allocations: 81.5 kB / 460.9 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.3553, allocations: 162.4 kB / 461.1 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.357, allocations: 3.141 MB / 464.2 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/0.3577, allocations: 43.02 kB / 464.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.3577, allocations: 36.89 kB / 464.3 MB, free: 13.98 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.0003395/0.358, allocations: 254.4 kB / 464.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.3582, allocations: 98.3 kB / 464.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009734/0.3591, allocations: 0.4999 MB / 465.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3591, allocations: 4.719 kB / 465.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3591, allocations: 1.828 kB / 465.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3592, allocations: 2.109 kB / 465.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.3613, allocations: 1.472 MB / 466.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3613, allocations: 2.188 kB / 466.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.3616, allocations: 83.06 kB / 466.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001989/0.3618, allocations: 75.73 kB / 466.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.3618, allocations: 9.375 kB / 466.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.3634, allocations: 3.126 MB / 469.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3634, allocations: 2.125 kB / 469.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.3646, allocations: 0.8141 MB / 470.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.3649, allocations: 202 kB / 471 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.365, allocations: 13.38 kB / 471 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/0.3654, allocations: 25.42 kB / 471 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.3655, allocations: 49.58 kB / 471 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.3655, allocations: 10.75 kB / 471.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007193/0.3663, allocations: 0.5759 MB / 471.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3663, allocations: 0.7656 kB / 471.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009199/0.3672, allocations: 205.5 kB / 471.8 MB, free: 8.578 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.0001937/0.3674, allocations: 132.5 kB / 472 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.3685, allocations: 0.6839 MB / 472.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3685, allocations: 0 / 472.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005867/0.3691, allocations: 452.1 kB / 473.1 MB, free: 7.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009984/0.3701, allocations: 228.2 kB / 473.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.3727, allocations: 1.811 MB / 475.1 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.3732, allocations: 1.015 MB / 476.1 MB, free: 5.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.3734, allocations: 61.17 kB / 476.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3734, allocations: 0 / 476.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of Templates: time 0.03081/0.4042, allocations: 21.53 MB / 497.7 MB, free: 8.168 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 9.587715065979864]