Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001799/0.001799, allocations: 119.6 kB / 18.41 MB, free: 4.688 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.002016/0.002016, allocations: 192.3 kB / 21.35 MB, free: 1.75 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.425/1.425, allocations: 222.9 MB / 247 MB, free: 4.078 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_Start,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_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,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_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.92 kB / 358.7 MB, free: 8.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09748/0.09907, allocations: 49.44 MB / 408.1 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009845/0.1089, allocations: 8.082 MB / 416.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004635/0.1136, allocations: 2.634 MB / 418.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007786/0.1144, allocations: 23.94 kB / 418.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.116, allocations: 0.5481 MB / 419.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.1172, allocations: 464.4 kB / 419.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.1177, allocations: 251.7 kB / 420.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.1194, allocations: 1.479 MB / 421.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008248/0.1203, allocations: 0.5845 MB / 422.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008128/0.1211, allocations: 0.5525 MB / 422.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008187/0.1219, allocations: 0.5989 MB / 423.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.1221, allocations: 136 kB / 423.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.1225, allocations: 172 kB / 423.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.1228, allocations: 279 kB / 423.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007666/0.1236, allocations: 0.6648 MB / 424.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.1258, allocations: 1.732 MB / 426.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.1258, allocations: 4 kB / 426.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1258, allocations: 0 / 426.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.317e-05/0.1259, allocations: 0 / 426.3 MB, free: 4.438 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.0026/0.1285, allocations: 1.475 MB / 427.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1285, allocations: 11.89 kB / 427.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006979/0.1292, allocations: 200 kB / 428 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.1306, allocations: 0.754 MB / 428.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.1307, allocations: 78 kB / 428.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.1308, allocations: 99.94 kB / 428.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.1324, allocations: 0.9269 MB / 429.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.1325, allocations: 15.88 kB / 429.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.1326, allocations: 44 kB / 429.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.1326, allocations: 24 kB / 429.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.1339, allocations: 0.6325 MB / 430.5 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1826/0.3165, allocations: 3.885 MB / 434.4 MB, free: 20.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.3172, allocations: 436 kB / 434.8 MB, free: 20.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/0.3177, allocations: 272.1 kB / 435.1 MB, free: 20.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.3178, allocations: 8.953 kB / 435.1 MB, free: 20.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.3178, allocations: 38.64 kB / 435.2 MB, free: 20.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.3178, allocations: 0 / 435.2 MB, free: 20.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002352/0.3202, allocations: 1.407 MB / 436.6 MB, free: 19.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.3202, allocations: 84.16 kB / 436.6 MB, free: 19.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.3212, allocations: 0.8286 MB / 437.5 MB, free: 19.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3213, allocations: 31.27 kB / 437.5 MB, free: 19.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.3216, allocations: 0.5724 MB / 438.1 MB, free: 19.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.3218, allocations: 171.9 kB / 438.2 MB, free: 19.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.322, allocations: 130.9 kB / 438.4 MB, free: 19.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.322, allocations: 332.2 kB / 438.7 MB, free: 18.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.3224, allocations: 163.2 kB / 438.9 MB, free: 18.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.3229, allocations: 464.4 kB / 439.3 MB, free: 18.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007689/0.3236, allocations: 0.6608 MB / 440 MB, free: 18.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.3236, allocations: 3.75 kB / 440 MB, free: 18.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001248/0.3249, allocations: 0.7715 MB / 440.7 MB, free: 18.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3249, allocations: 13.94 kB / 440.8 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3249, allocations: 10.19 kB / 440.8 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002702/0.3252, allocations: 83.14 kB / 440.9 MB, free: 18.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.3257, allocations: 154.4 kB / 441 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.3275, allocations: 3.138 MB / 444.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/0.3281, allocations: 35.48 kB / 444.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.3281, allocations: 36.5 kB / 444.2 MB, free: 15.14 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 (84): * Single equations (assignments): 82 * 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.0003344/0.3285, allocations: 258.3 kB / 444.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3286, allocations: 92.59 kB / 444.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009152/0.3295, allocations: 490.5 kB / 445 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3295, allocations: 6.188 kB / 445 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3295, allocations: 1.75 kB / 445 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3296, allocations: 1.688 kB / 445 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.3315, allocations: 1.452 MB / 446.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3316, allocations: 1.344 kB / 446.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.3319, allocations: 71.33 kB / 446.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.3321, allocations: 75.53 kB / 446.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.3321, allocations: 14.97 kB / 446.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.3337, allocations: 3.124 MB / 449.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3337, allocations: 1.344 kB / 449.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3348, allocations: 0.7832 MB / 450.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.3351, allocations: 199.5 kB / 450.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.3352, allocations: 13.83 kB / 450.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.3356, allocations: 23.5 kB / 450.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.3357, allocations: 36.98 kB / 450.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.3357, allocations: 14.59 kB / 450.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006886/0.3364, allocations: 0.5654 MB / 451.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3364, allocations: 0.9375 kB / 451.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008656/0.3373, allocations: 203.8 kB / 451.6 MB, free: 10.6 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 (38): * Single equations (assignments): 36 * 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.0001978/0.3375, allocations: 130.7 kB / 451.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.3386, allocations: 0.6929 MB / 452.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3386, allocations: 1.094 kB / 452.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.3392, allocations: 436 kB / 452.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.3403, allocations: 231 kB / 453.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.3428, allocations: 1.785 MB / 454.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.3432, allocations: 1.003 MB / 455.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.3434, allocations: 59.02 kB / 455.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3434, allocations: 0 / 455.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of Templates: time 0.02439/0.3678, allocations: 20.97 MB / 476.9 MB, free: 10.01 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.281081566005014]