Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001872/0.001872, allocations: 82.7 kB / 22 MB, free: 5.18 MB / 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.002322/0.002322, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 158.6 MB / 187 MB, free: 6.477 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 54.89 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.209, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00454/0.2135, allocations: 2.985 MB / 351.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.2157, allocations: 1.266 MB / 352.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.2158, allocations: 8 kB / 352.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.2162, allocations: 139.1 kB / 352.9 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007731/0.217, allocations: 310.2 kB / 353.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.2175, allocations: 251.2 kB / 353.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005821/0.2181, allocations: 446 kB / 353.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.2183, allocations: 100.8 kB / 354 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.2185, allocations: 171.3 kB / 354.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.2188, allocations: 175.2 kB / 354.3 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.2188, allocations: 36 kB / 354.4 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.2191, allocations: 159.9 kB / 354.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.123e-05/0.2192, allocations: 79.64 kB / 354.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.2194, allocations: 159.2 kB / 354.7 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006496/0.22, allocations: 0.5354 MB / 355.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.22, allocations: 0 / 355.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.22, allocations: 0 / 355.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.22, allocations: 0 / 355.3 MB, free: 8.719 MB / 318.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.00141/0.2214, allocations: 0.6767 MB / 356 MB, free: 8.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2215, allocations: 11.98 kB / 356 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005959/0.2221, allocations: 100.6 kB / 356.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.2225, allocations: 246.8 kB / 356.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.2225, allocations: 29.38 kB / 356.3 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.2226, allocations: 36.36 kB / 356.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.2232, allocations: 408.9 kB / 356.8 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.2233, allocations: 7.875 kB / 356.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.2233, allocations: 16 kB / 356.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2233, allocations: 8 kB / 356.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.2238, allocations: 245.9 kB / 357 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.2257, allocations: 1.123 MB / 358.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.2261, allocations: 189.1 kB / 358.4 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.2263, allocations: 77.62 kB / 358.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006579/0.2269, allocations: 0.5225 MB / 359 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.227, allocations: 38.56 kB / 359 MB, free: 4.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.227, allocations: 3.938 kB / 359 MB, free: 4.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005437/0.2275, allocations: 217.5 kB / 359.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.2276, allocations: 81.05 kB / 359.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.2279, allocations: 288.2 kB / 359.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.2279, allocations: 29.7 kB / 359.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.2281, allocations: 247.9 kB / 359.8 MB, free: 3.898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.2281, allocations: 71.47 kB / 359.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-05/0.2282, allocations: 61.98 kB / 360 MB, free: 3.758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2284, allocations: 338.8 kB / 360.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.2285, allocations: 68.61 kB / 360.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.2288, allocations: 190.5 kB / 360.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.2292, allocations: 296.8 kB / 360.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2292, allocations: 0 / 360.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005511/0.2298, allocations: 317.4 kB / 361.2 MB, free: 2.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2298, allocations: 4 kB / 361.2 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2298, allocations: 4 kB / 361.2 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2298, allocations: 8 kB / 361.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.2301, allocations: 83.83 kB / 361.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.2301, allocations: 11.94 kB / 361.3 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.2303, allocations: 31.78 kB / 361.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.2303, allocations: 28.16 kB / 361.3 MB, free: 2.27 MB / 318.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.0001442/0.2305, allocations: 153.7 kB / 361.5 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.2305, allocations: 27.81 kB / 361.5 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.2306, allocations: 30.05 kB / 361.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2306, allocations: 0 / 361.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.2306, allocations: 11.88 kB / 361.5 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.2306, allocations: 4 kB / 361.5 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.2312, allocations: 418.8 kB / 362 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2312, allocations: 32 / 362 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.2314, allocations: 47.97 kB / 362 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2314, allocations: 0 / 362 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.2315, allocations: 7.938 kB / 362 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2315, allocations: 3.938 kB / 362 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2315, allocations: 8 kB / 362 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.232, allocations: 415.8 kB / 362.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.2321, allocations: 31.81 kB / 362.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.2321, allocations: 8 kB / 362.5 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.2323, allocations: 19.98 kB / 362.5 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.2324, allocations: 7.984 kB / 362.5 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.2324, allocations: 7.984 kB / 362.5 MB, free: 1.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.2326, allocations: 199 kB / 362.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2326, allocations: 0 / 362.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004187/0.233, allocations: 83.83 kB / 362.8 MB, free: 0.7461 MB / 318.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.0001465/0.2332, allocations: 111.2 kB / 362.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003921/0.2336, allocations: 180.4 kB / 363.1 MB, free: 460 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2336, allocations: 320 / 363.1 MB, free: 460 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.2337, allocations: 75.84 kB / 363.1 MB, free: 384 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.2341, allocations: 32.84 kB / 363.2 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2352, allocations: 0.6551 MB / 363.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.2354, allocations: 168.8 kB / 364 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.2355, allocations: 30.28 kB / 364 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.2355, allocations: 28.5 kB / 364 MB, free: 15.41 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2355, allocations: 0 / 364 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Templates: time 0.005919/0.2415, allocations: 2.147 MB / 366.2 MB, free: 13.27 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.212794388993643]