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.001272/0.001272, allocations: 120.8 kB / 18.46 MB, free: 4.473 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.001361/0.001361, allocations: 190.9 kB / 21.4 MB, free: 1.535 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.442/1.442, allocations: 225.6 MB / 249.8 MB, free: 3.629 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_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.001503/0.001503, allocations: 51.92 kB / 366.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.09203, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01023/0.1023, allocations: 8.268 MB / 427.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005101/0.1074, allocations: 2.696 MB / 429.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.1084, allocations: 27.94 kB / 430 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.1102, allocations: 0.5715 MB / 430.5 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.1118, allocations: 0.5002 MB / 431 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006138/0.1124, allocations: 263.7 kB / 431.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.1144, allocations: 1.509 MB / 432.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006738/0.1151, allocations: 402.9 kB / 433.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007954/0.1159, allocations: 0.568 MB / 433.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007891/0.1167, allocations: 0.6105 MB / 434.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.1169, allocations: 144 kB / 434.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.1172, allocations: 176 kB / 434.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.1175, allocations: 290.9 kB / 435 MB, free: 12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006869/0.1182, allocations: 0.6687 MB / 435.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.1203, allocations: 1.759 MB / 437.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1203, allocations: 3.938 kB / 437.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1203, allocations: 0 / 437.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.1203, allocations: 3.938 kB / 437.4 MB, free: 9.555 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.002722/0.123, allocations: 1.521 MB / 438.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.123, allocations: 11.89 kB / 438.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006777/0.1237, allocations: 192 kB / 439.1 MB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.125, allocations: 0.7665 MB / 439.9 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.665e-05/0.1251, allocations: 74 kB / 440 MB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.1253, allocations: 99.98 kB / 440 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.127, allocations: 0.9425 MB / 441 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.127, allocations: 3.953 kB / 441 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/0.1271, allocations: 44 kB / 441 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.1271, allocations: 24 kB / 441.1 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.1285, allocations: 0.6442 MB / 441.7 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/0.1341, allocations: 3.939 MB / 445.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007545/0.1348, allocations: 415.9 kB / 446.1 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006297/0.1354, allocations: 261.3 kB / 446.3 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.1355, allocations: 15.92 kB / 446.3 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.1355, allocations: 34.56 kB / 446.4 MB, free: 204 kB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.584e-06/0.1355, allocations: 4 kB / 446.4 MB, free: 200 kB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.1871/0.3226, allocations: 1.559 MB / 447.9 MB, free: 29.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.3226, allocations: 81.92 kB / 448 MB, free: 29.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009477/0.3236, allocations: 0.8396 MB / 448.8 MB, free: 29.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.3236, allocations: 32.89 kB / 448.9 MB, free: 29.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.3239, allocations: 0.5777 MB / 449.4 MB, free: 29.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/0.324, allocations: 166.4 kB / 449.6 MB, free: 29.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.3241, allocations: 134.6 kB / 449.7 MB, free: 29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.3242, allocations: 335.2 kB / 450.1 MB, free: 28.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.3245, allocations: 174.4 kB / 450.2 MB, free: 28.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.3249, allocations: 474 kB / 450.7 MB, free: 28.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.3257, allocations: 0.6834 MB / 451.4 MB, free: 27.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3257, allocations: 0 / 451.4 MB, free: 27.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001174/0.3268, allocations: 0.7972 MB / 452.2 MB, free: 27.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3268, allocations: 9.969 kB / 452.2 MB, free: 27.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3269, allocations: 9.25 kB / 452.2 MB, free: 27.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002426/0.3271, allocations: 83.86 kB / 452.3 MB, free: 27.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.3276, allocations: 155.8 kB / 452.4 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.3293, allocations: 3.135 MB / 455.6 MB, free: 24.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005707/0.3298, allocations: 41.52 kB / 455.6 MB, free: 24.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.3299, allocations: 32.78 kB / 455.6 MB, free: 24.98 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.0003138/0.3302, allocations: 270.2 kB / 455.9 MB, free: 24.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.3303, allocations: 89.38 kB / 456 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009737/0.3313, allocations: 0.4981 MB / 456.5 MB, free: 24.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3313, allocations: 8.141 kB / 456.5 MB, free: 24.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3313, allocations: 1.031 kB / 456.5 MB, free: 24.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3313, allocations: 3.906 kB / 456.5 MB, free: 24.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.3334, allocations: 1.482 MB / 458 MB, free: 23.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3335, allocations: 2.453 kB / 458 MB, free: 23.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.3338, allocations: 72.17 kB / 458.1 MB, free: 23.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.334, allocations: 75.55 kB / 458.1 MB, free: 23.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.3341, allocations: 9.141 kB / 458.1 MB, free: 23.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.3357, allocations: 3.13 MB / 461.3 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3357, allocations: 2.406 kB / 461.3 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.337, allocations: 0.7992 MB / 462.1 MB, free: 20.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.3372, allocations: 207.8 kB / 462.3 MB, free: 19.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.731e-05/0.3373, allocations: 14.16 kB / 462.3 MB, free: 19.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.3378, allocations: 26.39 kB / 462.3 MB, free: 19.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.3379, allocations: 43.38 kB / 462.4 MB, free: 19.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.3379, allocations: 12.22 kB / 462.4 MB, free: 19.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007437/0.3386, allocations: 0.5742 MB / 462.9 MB, free: 19.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3386, allocations: 0 / 462.9 MB, free: 19.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008929/0.3395, allocations: 207.3 kB / 463.1 MB, free: 19.62 MB / 366.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.0001984/0.3397, allocations: 134.9 kB / 463.3 MB, free: 19.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.3409, allocations: 0.6863 MB / 464 MB, free: 19.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3409, allocations: 0 / 464 MB, free: 19.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.3415, allocations: 452.6 kB / 464.4 MB, free: 18.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3425, allocations: 224.6 kB / 464.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.3451, allocations: 1.805 MB / 466.4 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.3456, allocations: 1.012 MB / 467.4 MB, free: 16.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.3457, allocations: 58.69 kB / 467.5 MB, free: 16.96 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3457, allocations: 1.438 kB / 467.5 MB, free: 16.96 MB / 366.1 MB Notification: Performance of Templates: time 0.0236/0.3693, allocations: 21.49 MB / 489 MB, free: 6.164 MB / 366.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 -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_2/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_2/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: 9.22726145782508]