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.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.001543/0.001543, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001662/0.001662, allocations: 167.6 kB / 25.7 MB, free: 8.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9438/0.9438, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.074e-05, allocations: 6.25 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.006445/0.006466, allocations: 8.003 MB / 259.6 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003842/0.01031, allocations: 2.751 MB / 262.3 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005807/0.01089, allocations: 27.88 kB / 262.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.01202, allocations: 0.5439 MB / 262.9 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007669/0.01278, allocations: 0.531 MB / 263.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.01315, allocations: 267.6 kB / 263.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.01435, allocations: 1.563 MB / 265.3 MB, free: 9.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004912/0.01484, allocations: 383.3 kB / 265.6 MB, free: 9.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008805/0.01572, allocations: 0.8807 MB / 266.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004915/0.01621, allocations: 486.6 kB / 267 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.01634, allocations: 136 kB / 267.1 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.01659, allocations: 179.9 kB / 267.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.01672, allocations: 298.8 kB / 267.6 MB, free: 7.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.01707, allocations: 478.8 kB / 268.1 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008552/0.01793, allocations: 0.9379 MB / 269 MB, free: 5.684 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.01793, allocations: 0 / 269 MB, free: 5.684 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01793, allocations: 0 / 269 MB, free: 5.684 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.01795, allocations: 0 / 269 MB, free: 5.684 MB / 250.7 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.00131/0.01926, allocations: 1.398 MB / 270.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.01929, allocations: 11.98 kB / 270.4 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004103/0.0197, allocations: 240.7 kB / 270.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006152/0.02032, allocations: 0.5301 MB / 271.2 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.02036, allocations: 78 kB / 271.2 MB, free: 3.371 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.47e-05/0.02044, allocations: 103.9 kB / 271.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.02109, allocations: 0.7731 MB / 272.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.02112, allocations: 4 kB / 272.1 MB, free: 2.441 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.02116, allocations: 43.98 kB / 272.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.02118, allocations: 24 kB / 272.2 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.02148, allocations: 241.8 kB / 272.4 MB, free: 2.137 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.02412, allocations: 2.965 MB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.02439, allocations: 222.8 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.02461, allocations: 188.5 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.02463, allocations: 4 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.02466, allocations: 38.56 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.713e-06/0.02466, allocations: 0 / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001127/0.02578, allocations: 0.7909 MB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.02582, allocations: 88.86 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/0.0263, allocations: 0.6808 MB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.02632, allocations: 29.7 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.02653, allocations: 0.5011 MB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/0.02662, allocations: 166.6 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.02673, allocations: 142.5 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.02684, allocations: 394.5 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.623e-05/0.02692, allocations: 61.97 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.02713, allocations: 385.3 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.02748, allocations: 496.3 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.02749, allocations: 4 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0004835/0.02797, allocations: 498.1 kB / 280 MB, free: 9.945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.02799, allocations: 8.625 kB / 280 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.028, allocations: 12 kB / 280 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.02815, allocations: 65.69 kB / 280.1 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.02849, allocations: 159.7 kB / 280.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.02985, allocations: 2.607 MB / 282.9 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.0301, allocations: 32.14 kB / 282.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.03012, allocations: 32 kB / 282.9 MB, free: 6.855 MB / 266.7 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.0001676/0.03029, allocations: 161.5 kB / 283.1 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.03036, allocations: 63.92 kB / 283.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.03069, allocations: 295.1 kB / 283.4 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.03069, allocations: 4 kB / 283.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.0307, allocations: 7.922 kB / 283.5 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.0307, allocations: 0 / 283.5 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008325/0.03153, allocations: 0.7865 MB / 284.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.03153, allocations: 0 / 284.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.03171, allocations: 75.91 kB / 284.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.03183, allocations: 65.83 kB / 284.4 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.03185, allocations: 12.06 kB / 284.4 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.03303, allocations: 2.588 MB / 287 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.03303, allocations: 4 kB / 287 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.03345, allocations: 486.4 kB / 287.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.03358, allocations: 87.39 kB / 287.5 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.03363, allocations: 12 kB / 287.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.0338, allocations: 23.98 kB / 287.6 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.03386, allocations: 35.88 kB / 287.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.03387, allocations: 12.12 kB / 287.6 MB, free: 1.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.03412, allocations: 323.3 kB / 287.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03412, allocations: 0 / 287.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005042/0.03463, allocations: 208 kB / 288.1 MB, free: 1.344 MB / 266.7 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.00016/0.03479, allocations: 108.3 kB / 288.2 MB, free: 1.227 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004831/0.03527, allocations: 0.5315 MB / 288.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/0.03529, allocations: 12.5 kB / 288.8 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.03554, allocations: 367.6 kB / 289.2 MB, free: 276 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.03605, allocations: 205.8 kB / 289.4 MB, free: 80 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.03791, allocations: 1.587 MB / 290.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.03802, allocations: 179.5 kB / 291.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.03824, allocations: 102.7 kB / 291.2 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.03854, allocations: 233.2 kB / 291.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03854, allocations: 0 / 291.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of Templates: time 0.0141/0.05264, allocations: 11.05 MB / 302.5 MB, free: 2.891 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.957278288900852]