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.001432/0.001432, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001695/0.001695, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001606/0.001606, allocations: 47.94 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2188, allocations: 53.37 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01001/0.2288, allocations: 8.317 MB / 440.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004732/0.2336, allocations: 2.766 MB / 443.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008334/0.2344, allocations: 27.88 kB / 443.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.236, allocations: 0.5793 MB / 444.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.2374, allocations: 0.5002 MB / 444.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.238, allocations: 271.6 kB / 444.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001902/0.2399, allocations: 1.509 MB / 446.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006769/0.2406, allocations: 411 kB / 446.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008245/0.2414, allocations: 0.5837 MB / 447.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007528/0.2422, allocations: 0.6183 MB / 448 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.2423, allocations: 140 kB / 448.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.2427, allocations: 188 kB / 448.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.2429, allocations: 286.9 kB / 448.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006239/0.2435, allocations: 0.6726 MB / 449.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.2455, allocations: 1.765 MB / 451 MB, free: 4.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2455, allocations: 0 / 451 MB, free: 4.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2455, allocations: 0 / 451 MB, free: 4.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.2455, allocations: 4 kB / 451 MB, free: 4.234 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.002496/0.248, allocations: 1.446 MB / 452.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.248, allocations: 12.03 kB / 452.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007373/0.2488, allocations: 211.9 kB / 452.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.2501, allocations: 0.6814 MB / 453.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/0.2501, allocations: 74 kB / 453.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.2503, allocations: 104 kB / 453.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.2518, allocations: 0.9425 MB / 454.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.2519, allocations: 3.984 kB / 454.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.252, allocations: 40 kB / 454.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.252, allocations: 32 kB / 454.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2533, allocations: 0.6442 MB / 455.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005348/0.2586, allocations: 3.809 MB / 459 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.2593, allocations: 354 kB / 459.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/0.2599, allocations: 264.6 kB / 459.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.26, allocations: 8 kB / 459.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.26, allocations: 38.5 kB / 459.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.983e-06/0.26, allocations: 0 / 459.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002914/0.2629, allocations: 1.342 MB / 461 MB, free: 9.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.263, allocations: 81.11 kB / 461.1 MB, free: 9.797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.2641, allocations: 0.845 MB / 461.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.2642, allocations: 37.7 kB / 462 MB, free: 8.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.2646, allocations: 0.5775 MB / 462.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.2648, allocations: 170.6 kB / 462.7 MB, free: 8.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.2649, allocations: 130.6 kB / 462.8 MB, free: 8.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2651, allocations: 334 kB / 463.1 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.2655, allocations: 173.9 kB / 463.3 MB, free: 7.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/0.266, allocations: 479.5 kB / 463.8 MB, free: 6.906 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009778/0.267, allocations: 0.6721 MB / 464.5 MB, free: 6.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.267, allocations: 4 kB / 464.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001398/0.2684, allocations: 0.7835 MB / 465.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2684, allocations: 11.98 kB / 465.3 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.2685, allocations: 12 kB / 465.3 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002854/0.2687, allocations: 77.69 kB / 465.3 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.2693, allocations: 163.8 kB / 465.5 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.2718, allocations: 2.947 MB / 468.5 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.2724, allocations: 39.94 kB / 468.5 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.2724, allocations: 32 kB / 468.5 MB, free: 1.789 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.0004245/0.2729, allocations: 273.5 kB / 468.8 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.273, allocations: 95.38 kB / 468.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.274, allocations: 0.4993 MB / 469.4 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.274, allocations: 4 kB / 469.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.274, allocations: 4 kB / 469.4 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.274, allocations: 3.984 kB / 469.4 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.2763, allocations: 1.442 MB / 470.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.2763, allocations: 4 kB / 470.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.2767, allocations: 80.11 kB / 470.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/0.2769, allocations: 69.67 kB / 471 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.2769, allocations: 12.12 kB / 471 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.2794, allocations: 2.919 MB / 473.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.2794, allocations: 7.984 kB / 473.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.2808, allocations: 0.7943 MB / 474.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.2811, allocations: 131.4 kB / 474.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2812, allocations: 15.94 kB / 474.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.2816, allocations: 27.97 kB / 474.9 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.2817, allocations: 39.62 kB / 474.9 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.2817, allocations: 19.94 kB / 474.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008037/0.2825, allocations: 0.581 MB / 475.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2825, allocations: 0 / 475.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008203/0.2834, allocations: 204 kB / 475.7 MB, free: 10.2 MB / 382.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.0002101/0.2836, allocations: 123.1 kB / 475.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.2848, allocations: 0.6865 MB / 476.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2848, allocations: 0 / 476.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006838/0.2855, allocations: 450 kB / 477 MB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.2865, allocations: 238.3 kB / 477.2 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.2895, allocations: 1.805 MB / 479 MB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.2901, allocations: 1.009 MB / 480 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.2903, allocations: 63.44 kB / 480.1 MB, free: 5.703 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2903, allocations: 0 / 480.1 MB, free: 5.703 MB / 382.1 MB Notification: Performance of Templates: time 0.02643/0.3167, allocations: 21.53 MB / 0.4899 GB, free: 216 kB / 398.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: 8.776627053041011]