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.001362/0.001362, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001412/0.001412, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.399/1.399, allocations: 177.2 MB / 204.9 MB, free: 9.066 MB / 190.1 MB " [Timeout remaining time 179] 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.001609/0.001609, allocations: 51.33 kB / 325.6 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09636, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009807/0.1062, allocations: 7.28 MB / 386.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004892/0.1111, allocations: 2.56 MB / 388.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008187/0.1119, allocations: 31.81 kB / 388.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.1134, allocations: 0.5248 MB / 389.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.1145, allocations: 0.5041 MB / 389.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.115, allocations: 271.6 kB / 390.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.1167, allocations: 1.506 MB / 391.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000601/0.1173, allocations: 371.3 kB / 392 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000723/0.118, allocations: 0.5954 MB / 392.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007101/0.1187, allocations: 0.5324 MB / 393.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.1189, allocations: 140 kB / 393.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.1192, allocations: 180 kB / 393.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.1195, allocations: 283 kB / 393.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005948/0.1201, allocations: 0.5483 MB / 394.2 MB, free: 316 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.122, allocations: 1.774 MB / 396 MB, free: 14.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.122, allocations: 0 / 396 MB, free: 14.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.122, allocations: 0 / 396 MB, free: 14.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.122, allocations: 4 kB / 396 MB, free: 14.52 MB / 366.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.002623/0.1246, allocations: 1.442 MB / 397.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1247, allocations: 8.031 kB / 397.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007446/0.1254, allocations: 208 kB / 397.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.1267, allocations: 0.7008 MB / 398.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/0.1267, allocations: 70 kB / 398.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.1269, allocations: 104 kB / 398.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.1286, allocations: 1.051 MB / 399.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.1286, allocations: 0 / 399.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.1287, allocations: 40 kB / 399.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.1287, allocations: 24 kB / 399.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.1301, allocations: 0.6481 MB / 400.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004878/0.1349, allocations: 3.373 MB / 403.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.1356, allocations: 350.5 kB / 404 MB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.1363, allocations: 261.8 kB / 404.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.1363, allocations: 4 kB / 404.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.1364, allocations: 54.47 kB / 404.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/0.1364, allocations: 0 / 404.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002882/0.1392, allocations: 1.331 MB / 405.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.1393, allocations: 81.11 kB / 405.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.1404, allocations: 0.7818 MB / 406.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.1404, allocations: 33.7 kB / 406.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/0.1408, allocations: 0.5931 MB / 407.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.141, allocations: 174.5 kB / 407.3 MB, free: 2.809 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.1412, allocations: 130.6 kB / 407.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1414, allocations: 386.8 kB / 407.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.1417, allocations: 177.8 kB / 408 MB, free: 2.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.1424, allocations: 497.3 kB / 408.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.1434, allocations: 0.6759 MB / 409.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1434, allocations: 4 kB / 409.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001457/0.1449, allocations: 0.7794 MB / 409.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1449, allocations: 12 kB / 409.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.1449, allocations: 8 kB / 409.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.1452, allocations: 89.92 kB / 410 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.1457, allocations: 155.7 kB / 410.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/0.1483, allocations: 2.885 MB / 413.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.1488, allocations: 40 kB / 413.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.1489, allocations: 39.98 kB / 413.1 MB, free: 12.45 MB / 382.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.0003673/0.1492, allocations: 269.5 kB / 413.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.1494, allocations: 83.48 kB / 413.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.1505, allocations: 0.4908 MB / 414 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.1505, allocations: 15.94 kB / 414 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1505, allocations: 0 / 414 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.1505, allocations: 3.984 kB / 414 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.1526, allocations: 1.228 MB / 415.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1526, allocations: 0 / 415.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.1529, allocations: 75.89 kB / 415.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/0.1531, allocations: 65.69 kB / 415.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.1532, allocations: 20.2 kB / 415.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/0.1557, allocations: 2.859 MB / 418.2 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1557, allocations: 4.031 kB / 418.2 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.1571, allocations: 0.802 MB / 419 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.1574, allocations: 123.5 kB / 419.2 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/0.1574, allocations: 8 kB / 419.2 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.1579, allocations: 27.98 kB / 419.2 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.158, allocations: 39.81 kB / 419.2 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.158, allocations: 19.98 kB / 419.3 MB, free: 5.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007533/0.1587, allocations: 0.5186 MB / 419.8 MB, free: 5.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1587, allocations: 0 / 419.8 MB, free: 5.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008659/0.1596, allocations: 204 kB / 420 MB, free: 5.262 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.0002022/0.1598, allocations: 135.1 kB / 420.1 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.1611, allocations: 0.6864 MB / 420.8 MB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1611, allocations: 0 / 420.8 MB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007232/0.1618, allocations: 449.8 kB / 421.2 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.1629, allocations: 191.3 kB / 421.4 MB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.1658, allocations: 1.763 MB / 423.2 MB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.1664, allocations: 430.4 kB / 423.6 MB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000374/0.1667, allocations: 94.77 kB / 423.7 MB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1669, allocations: 56.5 kB / 423.8 MB, free: 1.344 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1669, allocations: 0 / 423.8 MB, free: 1.344 MB / 382.1 MB Notification: Performance of Templates: time 0.021/0.1879, allocations: 10.32 MB / 434.1 MB, free: 7.219 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 -s ida -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: 4.669907697010785]