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.001936/0.001936, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002553/0.002553, allocations: 209 kB / 24.48 MB, free: 3.938 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.558/1.558, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.00162/0.00162, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2277, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009666/0.2374, allocations: 7.297 MB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004775/0.2422, allocations: 2.552 MB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.243, allocations: 31.81 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.2445, allocations: 0.5245 MB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.2458, allocations: 0.5002 MB / 443.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.2464, allocations: 279.6 kB / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.2481, allocations: 1.51 MB / 445 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006366/0.2487, allocations: 371.3 kB / 445.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008201/0.2495, allocations: 0.5953 MB / 446 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007117/0.2502, allocations: 0.5207 MB / 446.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.2504, allocations: 140 kB / 446.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.2508, allocations: 184 kB / 446.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.251, allocations: 286.9 kB / 447.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005515/0.2516, allocations: 0.5483 MB / 447.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.2535, allocations: 1.777 MB / 449.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2535, allocations: 0 / 449.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2535, allocations: 0 / 449.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.2535, allocations: 0 / 449.4 MB, free: 5.535 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.002503/0.256, allocations: 1.446 MB / 450.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2561, allocations: 11.97 kB / 450.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007334/0.2568, allocations: 212 kB / 451.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.2581, allocations: 0.6853 MB / 451.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/0.2582, allocations: 78 kB / 451.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.2583, allocations: 99.95 kB / 452 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.26, allocations: 1.051 MB / 453 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.2601, allocations: 4 kB / 453 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.231e-05/0.2601, allocations: 40 kB / 453 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.2602, allocations: 24 kB / 453.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.2615, allocations: 0.6442 MB / 453.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00513/0.2666, allocations: 3.373 MB / 457.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.2673, allocations: 347.4 kB / 457.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006344/0.268, allocations: 268.6 kB / 457.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.268, allocations: 8 kB / 457.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.268, allocations: 38.5 kB / 457.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.505e-06/0.268, allocations: 0 / 457.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002978/0.271, allocations: 1.327 MB / 459.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.2711, allocations: 89.09 kB / 459.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.2722, allocations: 0.7779 MB / 459.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.2722, allocations: 37.7 kB / 460 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.2727, allocations: 0.5852 MB / 460.5 MB, free: 10 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.2728, allocations: 170.6 kB / 460.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.273, allocations: 134.6 kB / 460.8 MB, free: 9.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.2732, allocations: 386.7 kB / 461.2 MB, free: 9.309 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.2736, allocations: 181.9 kB / 461.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.2742, allocations: 0.4895 MB / 461.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.2753, allocations: 0.676 MB / 462.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.2753, allocations: 4 kB / 462.6 MB, free: 7.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001476/0.2767, allocations: 0.7718 MB / 463.3 MB, free: 6.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.2768, allocations: 12.09 kB / 463.4 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.2768, allocations: 12 kB / 463.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002874/0.2771, allocations: 81.62 kB / 463.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.2776, allocations: 155.7 kB / 463.6 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.2802, allocations: 2.885 MB / 466.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/0.2808, allocations: 48.06 kB / 466.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.2809, allocations: 36 kB / 466.6 MB, free: 3.465 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.0004247/0.2813, allocations: 257.6 kB / 466.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.2814, allocations: 87.47 kB / 466.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.2825, allocations: 0.4947 MB / 467.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.2825, allocations: 7.938 kB / 467.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2825, allocations: 0 / 467.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2825, allocations: 4 kB / 467.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.2846, allocations: 1.236 MB / 468.6 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2846, allocations: 4 kB / 468.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.2849, allocations: 71.89 kB / 468.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.2852, allocations: 77.89 kB / 468.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.2852, allocations: 8 kB / 468.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.2877, allocations: 2.87 MB / 471.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2877, allocations: 0 / 471.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.2891, allocations: 0.8018 MB / 472.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.2894, allocations: 119.5 kB / 472.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.565e-05/0.2895, allocations: 12 kB / 472.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.2899, allocations: 27.97 kB / 472.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.29, allocations: 39.81 kB / 472.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.2901, allocations: 16 kB / 472.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007664/0.2908, allocations: 0.5264 MB / 473.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2908, allocations: 0 / 473.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008587/0.2917, allocations: 204 kB / 473.4 MB, free: 12.27 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.0002113/0.2919, allocations: 123.1 kB / 473.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.2932, allocations: 0.687 MB / 474.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.2932, allocations: 7.984 kB / 474.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000711/0.2939, allocations: 445 kB / 474.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/0.2949, allocations: 199 kB / 474.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.298, allocations: 1.796 MB / 476.6 MB, free: 8.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.2984, allocations: 422.4 kB / 477.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.2986, allocations: 63.42 kB / 477.1 MB, free: 8.414 MB / 382.1 MB Notification: Performance of SimCode: time 5.82e-07/0.2986, allocations: 0 / 477.1 MB, free: 8.414 MB / 382.1 MB Notification: Performance of Templates: time 0.02827/0.3269, allocations: 21.5 MB / 498.6 MB, free: 2.945 MB / 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: 9.004336446058005]