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.001301/0.001301, allocations: 70.03 kB / 21.24 MB, free: 0.5547 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.001334/0.001334, allocations: 153.6 kB / 24.49 MB, free: 3.852 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.387/1.387, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 179] 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.001629/0.001629, allocations: 47.25 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08732/0.08895, allocations: 52.17 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009206/0.09816, allocations: 7.251 MB / 378.8 MB, free: 56 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.1022, allocations: 2.505 MB / 381.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004131/0.1026, allocations: 31.88 kB / 381.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.1038, allocations: 0.5247 MB / 381.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009065/0.1047, allocations: 0.5041 MB / 382.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.1052, allocations: 263.7 kB / 382.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.1067, allocations: 1.513 MB / 384.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000601/0.1073, allocations: 367.3 kB / 384.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.108, allocations: 0.5837 MB / 385.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000703/0.1087, allocations: 0.5284 MB / 385.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.1089, allocations: 144 kB / 385.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.1092, allocations: 184 kB / 386 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.1094, allocations: 283 kB / 386.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005757/0.11, allocations: 0.5483 MB / 386.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.1118, allocations: 1.767 MB / 388.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1118, allocations: 0 / 388.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.1118, allocations: 4 kB / 388.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.1118, allocations: 3.984 kB / 388.6 MB, free: 6.273 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.002418/0.1142, allocations: 1.434 MB / 390 MB, free: 4.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.1143, allocations: 8.031 kB / 390 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006463/0.1149, allocations: 196 kB / 390.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.1161, allocations: 0.6969 MB / 390.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.1162, allocations: 74 kB / 391 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.1163, allocations: 100 kB / 391.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.118, allocations: 1.047 MB / 392.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.118, allocations: 7.953 kB / 392.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/0.1181, allocations: 40 kB / 392.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.1181, allocations: 24 kB / 392.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.1195, allocations: 0.652 MB / 392.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004894/0.1244, allocations: 3.389 MB / 396.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.125, allocations: 339.7 kB / 396.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006295/0.1257, allocations: 256.6 kB / 396.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.1257, allocations: 11.94 kB / 396.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1257, allocations: 34.56 kB / 396.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.773e-06/0.1257, allocations: 3.938 kB / 396.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002887/0.1286, allocations: 1.323 MB / 398.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.1287, allocations: 89.09 kB / 398.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.1297, allocations: 0.774 MB / 399 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.1298, allocations: 37.7 kB / 399.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/0.1302, allocations: 0.5891 MB / 399.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.1304, allocations: 170.6 kB / 399.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.1305, allocations: 134.6 kB / 400 MB, free: 10.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.1307, allocations: 382.8 kB / 400.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.1311, allocations: 181.9 kB / 400.5 MB, free: 9.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.1317, allocations: 493.3 kB / 401 MB, free: 9.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.1328, allocations: 0.6797 MB / 401.7 MB, free: 8.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.1328, allocations: 4 kB / 401.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001406/0.1342, allocations: 0.7831 MB / 402.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1342, allocations: 8 kB / 402.5 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.1342, allocations: 12 kB / 402.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/0.1345, allocations: 77.73 kB / 402.6 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.135, allocations: 164 kB / 402.7 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.1376, allocations: 2.897 MB / 405.6 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.1381, allocations: 35.94 kB / 405.6 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.1382, allocations: 39.94 kB / 405.7 MB, free: 4.211 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.0003642/0.1385, allocations: 261.5 kB / 405.9 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.1386, allocations: 87.42 kB / 406 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009975/0.1396, allocations: 0.4907 MB / 406.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1396, allocations: 7.938 kB / 406.5 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1397, allocations: 0 / 406.5 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1397, allocations: 4.125 kB / 406.5 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.1417, allocations: 1.236 MB / 407.8 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1417, allocations: 4 kB / 407.8 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.1421, allocations: 72.11 kB / 407.8 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001998/0.1423, allocations: 77.67 kB / 407.9 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.1423, allocations: 8 kB / 407.9 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.1447, allocations: 2.854 MB / 410.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1447, allocations: 4 kB / 410.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.1461, allocations: 0.8037 MB / 411.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.1464, allocations: 123.5 kB / 411.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.1465, allocations: 8 kB / 411.7 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.1469, allocations: 35.97 kB / 411.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.147, allocations: 39.81 kB / 411.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.147, allocations: 16 kB / 411.8 MB, free: 13.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000728/0.1477, allocations: 0.5224 MB / 412.3 MB, free: 13.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1477, allocations: 0 / 412.3 MB, free: 13.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008269/0.1486, allocations: 207.9 kB / 412.5 MB, free: 13.02 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.0001931/0.1488, allocations: 123.2 kB / 412.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.15, allocations: 0.6854 MB / 413.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.15, allocations: 4 kB / 413.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.1507, allocations: 446.3 kB / 413.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.1517, allocations: 205 kB / 414 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.1546, allocations: 1.752 MB / 415.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.155, allocations: 426.4 kB / 416.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000332/0.1554, allocations: 94.69 kB / 416.2 MB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.1555, allocations: 56.44 kB / 416.3 MB, free: 9.113 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1555, allocations: 0 / 416.3 MB, free: 9.113 MB / 382.1 MB Notification: Performance of Templates: time 0.02002/0.1755, allocations: 10.3 MB / 426.6 MB, free: 15 MB / 398.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 -s ida -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/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/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: 4.622816508053802]