Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001898/0.001898, allocations: 88.59 kB / 20.95 MB, free: 328 kB / 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.002212/0.002212, allocations: 152.8 kB / 24.25 MB, free: 3.266 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.394/1.394, allocations: 173.3 MB / 200.8 MB, free: 12.74 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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.291e-05, allocations: 2.312 kB / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004605/0.004628, allocations: 3.035 MB / 270.3 MB, free: 7.16 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.006935, allocations: 1.218 MB / 271.5 MB, free: 5.934 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.00716, allocations: 11.94 kB / 271.6 MB, free: 5.922 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.007632, allocations: 150.9 kB / 271.7 MB, free: 5.773 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.008783, allocations: 441.4 kB / 272.1 MB, free: 5.34 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.009183, allocations: 163.5 kB / 272.3 MB, free: 5.18 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006693/0.009852, allocations: 465.8 kB / 272.8 MB, free: 4.723 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.01007, allocations: 96.77 kB / 272.8 MB, free: 4.629 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.01043, allocations: 247.4 kB / 273.1 MB, free: 4.387 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.0107, allocations: 151.5 kB / 273.2 MB, free: 4.238 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 7.051e-05/0.01077, allocations: 40 kB / 273.3 MB, free: 4.199 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.01108, allocations: 155.7 kB / 273.4 MB, free: 4.047 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 9.809e-05/0.01118, allocations: 79.67 kB / 273.5 MB, free: 3.969 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.01134, allocations: 131.7 kB / 273.6 MB, free: 3.84 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000751/0.01209, allocations: 0.5567 MB / 274.2 MB, free: 3.281 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01209, allocations: 0 / 274.2 MB, free: 3.281 MB / 254.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01209, allocations: 0 / 274.2 MB, free: 3.281 MB / 254.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.0121, allocations: 0 / 274.2 MB, free: 3.281 MB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001534/0.01363, allocations: 0.665 MB / 274.9 MB, free: 2.586 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.01367, allocations: 12.86 kB / 274.9 MB, free: 2.574 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007407/0.01441, allocations: 148.5 kB / 275 MB, free: 2.43 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.01487, allocations: 246.1 kB / 275.3 MB, free: 2.164 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.01491, allocations: 25.38 kB / 275.3 MB, free: 2.137 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.01497, allocations: 36.33 kB / 275.3 MB, free: 2.102 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.01569, allocations: 409.2 kB / 275.7 MB, free: 1.676 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.0157, allocations: 192 / 275.7 MB, free: 1.676 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.01574, allocations: 12.38 kB / 275.7 MB, free: 1.664 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.01575, allocations: 11.94 kB / 275.7 MB, free: 1.652 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.01628, allocations: 253.8 kB / 276 MB, free: 1.406 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.01832, allocations: 1.146 MB / 277.1 MB, free: 180 kB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.01875, allocations: 184.4 kB / 277.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.01892, allocations: 74.08 kB / 277.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007649/0.01968, allocations: 0.526 MB / 277.9 MB, free: 15.35 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.01972, allocations: 38.5 kB / 277.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.462e-06/0.01972, allocations: 0 / 277.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005925/0.02031, allocations: 225.3 kB / 278.2 MB, free: 15.08 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.02036, allocations: 81.11 kB / 278.2 MB, free: 14.98 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.0207, allocations: 292.2 kB / 278.5 MB, free: 14.69 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.02073, allocations: 25.7 kB / 278.6 MB, free: 14.66 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.02092, allocations: 247.9 kB / 278.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.02097, allocations: 63.48 kB / 278.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.02107, allocations: 65.97 kB / 278.9 MB, free: 14.27 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.02125, allocations: 342.8 kB / 279.3 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.02142, allocations: 64.62 kB / 279.3 MB, free: 13.87 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.0217, allocations: 210.3 kB / 279.5 MB, free: 13.6 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.02217, allocations: 288.9 kB / 279.8 MB, free: 13.26 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.02218, allocations: 0 / 279.8 MB, free: 13.26 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006171/0.02279, allocations: 337.3 kB / 280.1 MB, free: 12.92 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.02281, allocations: 8 kB / 280.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.02282, allocations: 4 kB / 280.2 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.02284, allocations: 8 kB / 280.2 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.02316, allocations: 79.84 kB / 280.2 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.02318, allocations: 11.98 kB / 280.3 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.02338, allocations: 32 kB / 280.3 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.0234, allocations: 16 kB / 280.3 MB, free: 12.77 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.02357, allocations: 161.6 kB / 280.5 MB, free: 12.6 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/0.02366, allocations: 39.8 kB / 280.5 MB, free: 12.56 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.02372, allocations: 25.81 kB / 280.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.02372, allocations: 4 kB / 280.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.02373, allocations: 4.234 kB / 280.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.02373, allocations: 0 / 280.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.0244, allocations: 422.8 kB / 280.9 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.02441, allocations: 7.969 kB / 280.9 MB, free: 12.06 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.02463, allocations: 47.95 kB / 281 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.02463, allocations: 0 / 281 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.02465, allocations: 8 kB / 281 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.02465, allocations: 0 / 281 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.02466, allocations: 4 kB / 281 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.02526, allocations: 417.7 kB / 281.4 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.02531, allocations: 31.83 kB / 281.4 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.02535, allocations: 8.062 kB / 281.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.02557, allocations: 15.98 kB / 281.5 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.02562, allocations: 11.92 kB / 281.5 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.02564, allocations: 8 kB / 281.5 MB, free: 11.5 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.02585, allocations: 195.1 kB / 281.7 MB, free: 11.32 MB / 270.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02585, allocations: 0 / 281.7 MB, free: 11.32 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.0263, allocations: 83.78 kB / 281.8 MB, free: 11.23 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.02648, allocations: 119.2 kB / 281.9 MB, free: 11.11 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004279/0.0269, allocations: 180.6 kB / 282.1 MB, free: 10.93 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.02691, allocations: 4.188 kB / 282.1 MB, free: 10.93 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.02705, allocations: 63.84 kB / 282.1 MB, free: 10.86 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.02746, allocations: 24.98 kB / 282.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.02854, allocations: 0.6007 MB / 282.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.02873, allocations: 168.8 kB / 282.9 MB, free: 10.02 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.02885, allocations: 34.25 kB / 282.9 MB, free: 9.992 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.02891, allocations: 32.5 kB / 283 MB, free: 9.961 MB / 270.1 MB Notification: Performance of SimCode: time 5.01e-07/0.02891, allocations: 0 / 283 MB, free: 9.961 MB / 270.1 MB Notification: Performance of Templates: time 0.006344/0.03525, allocations: 2.191 MB / 285.2 MB, free: 7.805 MB / 270.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.030569277703762]