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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 120.5 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 247 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] 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=20000,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=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 43.92 kB / 358.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09279/0.09433, allocations: 49.44 MB / 408.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009782/0.1042, allocations: 8.217 MB / 416.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004805/0.109, allocations: 2.692 MB / 419 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008981/0.1099, allocations: 27.94 kB / 419 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.1116, allocations: 0.5519 MB / 419.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.1131, allocations: 476.2 kB / 420.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.1137, allocations: 263.7 kB / 420.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.1156, allocations: 1.506 MB / 421.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/0.1165, allocations: 0.5807 MB / 422.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008706/0.1173, allocations: 0.568 MB / 423 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008607/0.1182, allocations: 0.6067 MB / 423.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.1184, allocations: 144 kB / 423.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.1188, allocations: 176 kB / 423.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.1191, allocations: 286.9 kB / 424.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007174/0.1198, allocations: 0.6726 MB / 424.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.1219, allocations: 1.763 MB / 426.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.122, allocations: 3.938 kB / 426.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.122, allocations: 3.938 kB / 426.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.395e-05/0.122, allocations: 0 / 426.6 MB, free: 4.195 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.00263/0.1247, allocations: 1.518 MB / 428.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1247, allocations: 11.89 kB / 428.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006568/0.1254, allocations: 192 kB / 428.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.1267, allocations: 0.7704 MB / 429.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.1268, allocations: 74 kB / 429.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.1269, allocations: 100 kB / 429.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.1286, allocations: 0.9464 MB / 430.2 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/0.1286, allocations: 7.953 kB / 430.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.1287, allocations: 40 kB / 430.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.1287, allocations: 24 kB / 430.3 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1725/0.3013, allocations: 0.6449 MB / 430.9 MB, free: 22.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/0.3059, allocations: 3.921 MB / 434.9 MB, free: 20.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.3066, allocations: 439.4 kB / 435.3 MB, free: 20.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/0.3072, allocations: 279.5 kB / 435.6 MB, free: 20.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.3073, allocations: 9.891 kB / 435.6 MB, free: 20.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3073, allocations: 36.06 kB / 435.6 MB, free: 20.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.314e-06/0.3073, allocations: 0 / 435.6 MB, free: 20.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002671/0.31, allocations: 1.568 MB / 437.2 MB, free: 19.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.31, allocations: 81.38 kB / 437.3 MB, free: 19.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.3113, allocations: 0.836 MB / 438.1 MB, free: 19.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3113, allocations: 31.39 kB / 438.1 MB, free: 19.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.3116, allocations: 0.5839 MB / 438.7 MB, free: 19.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.3117, allocations: 169.1 kB / 438.9 MB, free: 19.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.3119, allocations: 133.3 kB / 439 MB, free: 19.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.312, allocations: 336.2 kB / 439.3 MB, free: 18.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.3123, allocations: 175 kB / 439.5 MB, free: 18.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.3128, allocations: 475 kB / 440 MB, free: 18.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/0.3136, allocations: 0.6798 MB / 440.6 MB, free: 18.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.3136, allocations: 3.094 kB / 440.6 MB, free: 18.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001298/0.3149, allocations: 0.7919 MB / 441.4 MB, free: 17.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3149, allocations: 12.78 kB / 441.4 MB, free: 17.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3149, allocations: 9.938 kB / 441.5 MB, free: 17.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002625/0.3152, allocations: 87.94 kB / 441.5 MB, free: 17.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.3157, allocations: 154.3 kB / 441.7 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.3174, allocations: 3.14 MB / 444.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/0.3181, allocations: 35.23 kB / 444.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.3181, allocations: 31.78 kB / 444.9 MB, free: 15.1 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.0003577/0.3185, allocations: 271.9 kB / 445.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.3186, allocations: 96.78 kB / 445.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009967/0.3196, allocations: 0.5008 MB / 445.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3196, allocations: 9.609 kB / 445.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3196, allocations: 2.125 kB / 445.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3197, allocations: 2.203 kB / 445.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.3217, allocations: 1.479 MB / 447.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3217, allocations: 5.5 kB / 447.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.322, allocations: 72.81 kB / 447.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/0.3222, allocations: 68.22 kB / 447.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.3223, allocations: 18.28 kB / 447.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.3238, allocations: 3.128 MB / 450.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3238, allocations: 2.375 kB / 450.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.325, allocations: 0.811 MB / 451.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.3253, allocations: 197.1 kB / 451.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.671e-05/0.3254, allocations: 13.53 kB / 451.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.3258, allocations: 27.02 kB / 451.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.3259, allocations: 41.55 kB / 451.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.3259, allocations: 12.11 kB / 451.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000742/0.3267, allocations: 0.5778 MB / 452.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3267, allocations: 3.469 kB / 452.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000874/0.3276, allocations: 209.8 kB / 452.4 MB, free: 10.38 MB / 350.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.0001775/0.3278, allocations: 135.7 kB / 452.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.3289, allocations: 0.7101 MB / 453.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3289, allocations: 1.438 kB / 453.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005792/0.3295, allocations: 462.5 kB / 453.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009893/0.3305, allocations: 223.8 kB / 453.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.3329, allocations: 1.804 MB / 455.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.3334, allocations: 1.009 MB / 456.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.3336, allocations: 60.95 kB / 456.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3336, allocations: 0 / 456.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of Templates: time 0.02429/0.3579, allocations: 21.41 MB / 478.2 MB, free: 8.777 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.132077479967847]