Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001283/0.001283, allocations: 115.5 kB / 18.46 MB, free: 4.602 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.001392/0.001392, allocations: 213.6 kB / 21.42 MB, free: 1.645 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.469/1.469, allocations: 230.6 MB / 254.8 MB, free: 14.87 MB / 206.1 MB " [Timeout remaining time 178] 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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 55.91 kB / 374.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 53.33 MB / 427.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005009/0.1135, allocations: 3.324 MB / 430.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1992/0.3127, allocations: 1.406 MB / 432.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003503/0.313, allocations: 10.78 kB / 432.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.3135, allocations: 142.4 kB / 432.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009574/0.3144, allocations: 440.2 kB / 432.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.3148, allocations: 180.3 kB / 433 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005411/0.3154, allocations: 464.5 kB / 433.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.3156, allocations: 114.5 kB / 433.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.3158, allocations: 175.3 kB / 433.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.316, allocations: 197.4 kB / 433.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.3161, allocations: 39.53 kB / 433.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.3164, allocations: 174 kB / 434.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.3164, allocations: 80.52 kB / 434.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.3165, allocations: 197.7 kB / 434.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.3171, allocations: 0.5499 MB / 434.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3171, allocations: 3.938 kB / 434.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3171, allocations: 0 / 434.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.3171, allocations: 2.797 kB / 434.9 MB, free: 7.719 MB / 350.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.00129/0.3184, allocations: 0.7484 MB / 435.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3184, allocations: 9.812 kB / 435.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000734/0.3192, allocations: 120.2 kB / 435.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.3196, allocations: 317 kB / 436.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.3196, allocations: 27 kB / 436.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.3197, allocations: 33.34 kB / 436.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.3203, allocations: 353.2 kB / 436.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3203, allocations: 8.938 kB / 436.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.3203, allocations: 14.33 kB / 436.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3203, allocations: 8.625 kB / 436.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.3208, allocations: 250.7 kB / 436.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.3227, allocations: 1.318 MB / 438.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.323, allocations: 188.4 kB / 438.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.3232, allocations: 79.28 kB / 438.4 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007495/0.3239, allocations: 1.204 MB / 439.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.324, allocations: 36 kB / 439.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.324, allocations: 0 / 439.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000526/0.3245, allocations: 222.8 kB / 439.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.3245, allocations: 83.45 kB / 439.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.3248, allocations: 287.5 kB / 440.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3248, allocations: 35.5 kB / 440.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3249, allocations: 244 kB / 440.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.325, allocations: 64.89 kB / 440.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.272e-05/0.325, allocations: 63.22 kB / 440.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.3251, allocations: 338.1 kB / 440.9 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3253, allocations: 66 kB / 441 MB, free: 3.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.3255, allocations: 205 kB / 441.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.3258, allocations: 297.8 kB / 441.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3258, allocations: 2.406 kB / 441.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000487/0.3263, allocations: 322 kB / 441.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3263, allocations: 6.188 kB / 441.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.3263, allocations: 5.766 kB / 441.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.3263, allocations: 6.531 kB / 441.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.3266, allocations: 84.33 kB / 441.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.3266, allocations: 11.33 kB / 441.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.3268, allocations: 39.22 kB / 441.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.3268, allocations: 16.09 kB / 442 MB, free: 3.164 MB / 350.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.0001095/0.327, allocations: 160.2 kB / 442.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.327, allocations: 28.72 kB / 442.1 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.3271, allocations: 29.31 kB / 442.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3271, allocations: 2.125 kB / 442.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.3271, allocations: 5.641 kB / 442.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3271, allocations: 5.359 kB / 442.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006441/0.3277, allocations: 0.5081 MB / 442.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3277, allocations: 0.5156 kB / 442.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.3279, allocations: 45.27 kB / 442.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.3279, allocations: 6.844 kB / 442.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.328, allocations: 4.75 kB / 442.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.328, allocations: 2.203 kB / 442.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.328, allocations: 5.531 kB / 442.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.3284, allocations: 425.1 kB / 443.2 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.3285, allocations: 106.8 kB / 443.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.3285, allocations: 7.281 kB / 443.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.3287, allocations: 14.06 kB / 443.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.3288, allocations: 14.53 kB / 443.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.3288, allocations: 6.5 kB / 443.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.329, allocations: 199.9 kB / 443.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.329, allocations: 0 / 443.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.3294, allocations: 81.8 kB / 443.6 MB, free: 2.016 MB / 350.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.0001486/0.3295, allocations: 124.6 kB / 443.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003889/0.3299, allocations: 174.1 kB / 443.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3299, allocations: 4 kB / 443.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.3301, allocations: 66.39 kB / 443.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.3304, allocations: 40.31 kB / 444 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.3316, allocations: 0.6882 MB / 444.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.3318, allocations: 0.7743 MB / 445.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.3318, allocations: 26.41 kB / 445.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3318, allocations: 0 / 445.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of Templates: time 0.006624/0.3385, allocations: 3.526 MB / 449 MB, free: 264 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.214787625009194]