Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001887/0.001887, allocations: 80.44 kB / 21.25 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002314/0.002314, allocations: 160.2 kB / 24.5 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.621/1.621, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 58 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09689, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01035/0.1072, allocations: 7.284 MB / 386.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005648/0.1129, allocations: 2.564 MB / 388.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.1142, allocations: 31.81 kB / 388.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.116, allocations: 0.5209 MB / 389.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.1179, allocations: 0.5002 MB / 389.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008048/0.1187, allocations: 275.6 kB / 390.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002225/0.1209, allocations: 1.506 MB / 391.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007367/0.1217, allocations: 379.3 kB / 392 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009608/0.1226, allocations: 0.5992 MB / 392.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009391/0.1236, allocations: 0.5207 MB / 393.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000254/0.1238, allocations: 140 kB / 393.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000483/0.1243, allocations: 176 kB / 393.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.1246, allocations: 290.9 kB / 393.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006002/0.1252, allocations: 0.5483 MB / 394.2 MB, free: 56 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.1271, allocations: 1.778 MB / 396 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1271, allocations: 0 / 396 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1271, allocations: 0 / 396 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.1271, allocations: 0 / 396 MB, free: 14.27 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.002481/0.1296, allocations: 1.442 MB / 397.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1296, allocations: 11.98 kB / 397.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007452/0.1304, allocations: 215.9 kB / 397.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.1316, allocations: 0.6892 MB / 398.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.1317, allocations: 74 kB / 398.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.1318, allocations: 103.9 kB / 398.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.1335, allocations: 1.043 MB / 399.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.1336, allocations: 4 kB / 399.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.1336, allocations: 40 kB / 399.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.1337, allocations: 27.98 kB / 399.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.135, allocations: 0.652 MB / 400.3 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004831/0.1398, allocations: 3.381 MB / 403.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.1405, allocations: 347.2 kB / 404 MB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006361/0.1412, allocations: 260.6 kB / 404.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.1412, allocations: 4 kB / 404.3 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.1412, allocations: 42.5 kB / 404.3 MB, free: 5.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.064e-06/0.1412, allocations: 0 / 404.3 MB, free: 5.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003091/0.1443, allocations: 1.332 MB / 405.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.1444, allocations: 81.11 kB / 405.7 MB, free: 4.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.1455, allocations: 0.7857 MB / 406.5 MB, free: 3.359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.1455, allocations: 33.7 kB / 406.5 MB, free: 3.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005318/0.1461, allocations: 0.5853 MB / 407.1 MB, free: 2.727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.1462, allocations: 166.6 kB / 407.3 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.1464, allocations: 134.6 kB / 407.4 MB, free: 2.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.1466, allocations: 382.8 kB / 407.8 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.147, allocations: 181.8 kB / 408 MB, free: 1.863 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.1476, allocations: 497.3 kB / 408.5 MB, free: 1.238 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.1487, allocations: 0.6721 MB / 409.1 MB, free: 444 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.1487, allocations: 4 kB / 409.1 MB, free: 440 kB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001498/0.1502, allocations: 0.7797 MB / 409.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.1503, allocations: 11.98 kB / 409.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.1503, allocations: 12 kB / 409.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000308/0.1506, allocations: 73.69 kB / 410 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.1511, allocations: 163.7 kB / 410.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.1537, allocations: 2.885 MB / 413.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.1543, allocations: 44.16 kB / 413.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.1543, allocations: 35.94 kB / 413.1 MB, free: 12.21 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.000416/0.1547, allocations: 261.5 kB / 413.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.1549, allocations: 83.48 kB / 413.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.1559, allocations: 0.4947 MB / 414 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.1559, allocations: 11.92 kB / 414 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1559, allocations: 0 / 414 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.1559, allocations: 0 / 414 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.158, allocations: 1.236 MB / 415.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.158, allocations: 7.938 kB / 415.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.1584, allocations: 75.89 kB / 415.3 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/0.1586, allocations: 74.02 kB / 415.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.1586, allocations: 16 kB / 415.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00253/0.1611, allocations: 2.855 MB / 418.2 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1611, allocations: 0 / 418.2 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.1626, allocations: 0.8099 MB / 419.1 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.1629, allocations: 115.6 kB / 419.2 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.163, allocations: 15.98 kB / 419.2 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.1635, allocations: 27.97 kB / 419.2 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.16e-05/0.1636, allocations: 43.81 kB / 419.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.1636, allocations: 16 kB / 419.3 MB, free: 5.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000794/0.1644, allocations: 0.5186 MB / 419.8 MB, free: 5.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1644, allocations: 0 / 419.8 MB, free: 5.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008845/0.1653, allocations: 208 kB / 420 MB, free: 5.012 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.0002288/0.1655, allocations: 123.2 kB / 420.1 MB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.1668, allocations: 0.6904 MB / 420.8 MB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1668, allocations: 4 kB / 420.8 MB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00075/0.1676, allocations: 437 kB / 421.2 MB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.1686, allocations: 210.4 kB / 421.4 MB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.1721, allocations: 1.753 MB / 423.2 MB, free: 1.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.1726, allocations: 426.4 kB / 423.6 MB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004519/0.1731, allocations: 98.75 kB / 423.7 MB, free: 1.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.1732, allocations: 60.5 kB / 423.8 MB, free: 1.098 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1732, allocations: 0 / 423.8 MB, free: 1.098 MB / 382.1 MB Notification: Performance of Templates: time 0.0223/0.1955, allocations: 10.33 MB / 434.1 MB, free: 6.941 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.066987217986025]