Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001346/0.001346, allocations: 110 kB / 20.43 MB, free: 1.453 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.001558/0.001558, allocations: 213.9 kB / 23.74 MB, free: 4.66 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.51/1.51, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2875, allocations: 53.41 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005318/0.2928, allocations: 3.336 MB / 434.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.2954, allocations: 1.433 MB / 436 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.2957, allocations: 11.94 kB / 436 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.2961, allocations: 143.1 kB / 436.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.2973, allocations: 433.6 kB / 436.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.2977, allocations: 183.5 kB / 436.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006517/0.2984, allocations: 458.1 kB / 437.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.2986, allocations: 116.7 kB / 437.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.2989, allocations: 171.3 kB / 437.4 MB, free: 428 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.2992, allocations: 207.1 kB / 437.6 MB, free: 220 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.2992, allocations: 32 kB / 437.7 MB, free: 188 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.2995, allocations: 175.8 kB / 437.8 MB, free: 12 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.809e-05/0.2996, allocations: 87.8 kB / 437.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.2998, allocations: 191 kB / 438.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007317/0.3006, allocations: 0.5528 MB / 438.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3006, allocations: 0 / 438.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3006, allocations: 4 kB / 438.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3006, allocations: 0 / 438.7 MB, free: 15.18 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.001531/0.3021, allocations: 0.6806 MB / 439.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3022, allocations: 12.03 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.236e-05/0.3022, allocations: 70.66 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007123/0.303, allocations: 116.6 kB / 439.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.3035, allocations: 259.9 kB / 439.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.3035, allocations: 21.38 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.3036, allocations: 36.38 kB / 439.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006342/0.3042, allocations: 357.3 kB / 440.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3042, allocations: 0 / 440.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.3043, allocations: 8 kB / 440.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.3043, allocations: 8 kB / 440.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.3048, allocations: 253.8 kB / 440.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.307, allocations: 1.281 MB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.3074, allocations: 184.4 kB / 441.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.3076, allocations: 85.89 kB / 442 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008357/0.3084, allocations: 0.5689 MB / 442.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.3084, allocations: 34.56 kB / 442.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.3085, allocations: 4 kB / 442.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005806/0.309, allocations: 221.4 kB / 442.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.3091, allocations: 77.11 kB / 442.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.3095, allocations: 292.3 kB / 443.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.3095, allocations: 29.7 kB / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.3097, allocations: 248 kB / 443.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.3097, allocations: 71.42 kB / 443.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.444e-05/0.3098, allocations: 61.98 kB / 443.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.3101, allocations: 338.8 kB / 443.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.3102, allocations: 72.55 kB / 444 MB, free: 9.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.3105, allocations: 198.4 kB / 444.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.3109, allocations: 292.9 kB / 444.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3109, allocations: 0 / 444.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005369/0.3115, allocations: 325.4 kB / 444.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3115, allocations: 11.94 kB / 444.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.3115, allocations: 4 kB / 444.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.3115, allocations: 7.938 kB / 444.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.3118, allocations: 83.83 kB / 444.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3118, allocations: 4 kB / 444.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.312, allocations: 35.78 kB / 444.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.312, allocations: 24.14 kB / 445 MB, free: 8.477 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.0001616/0.3122, allocations: 157.7 kB / 445.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.3123, allocations: 27.81 kB / 445.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.348e-05/0.3123, allocations: 29.78 kB / 445.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3123, allocations: 7.938 kB / 445.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3123, allocations: 0 / 445.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3123, allocations: 0 / 445.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007291/0.3131, allocations: 494.2 kB / 445.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3131, allocations: 3.938 kB / 445.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.3133, allocations: 48.28 kB / 445.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3133, allocations: 0 / 445.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.3133, allocations: 11.98 kB / 445.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3133, allocations: 0 / 445.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3133, allocations: 0 / 445.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.3139, allocations: 427.3 kB / 446.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.3139, allocations: 31.72 kB / 446.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.314, allocations: 4 kB / 446.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3142, allocations: 11.98 kB / 446.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.3142, allocations: 24.03 kB / 446.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3142, allocations: 4 kB / 446.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.3144, allocations: 199.1 kB / 446.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3144, allocations: 0 / 446.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006849/0.3151, allocations: 83.83 kB / 446.5 MB, free: 6.863 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.0009601/0.3161, allocations: 0.9692 MB / 447.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004092/0.3165, allocations: 179.7 kB / 447.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3165, allocations: 3.938 kB / 447.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3166, allocations: 73.03 kB / 447.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.3171, allocations: 38.72 kB / 447.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.3211, allocations: 3.127 MB / 450.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.3216, allocations: 0.7714 MB / 451.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.3217, allocations: 34.95 kB / 451.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.3219, allocations: 111.4 kB / 451.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3219, allocations: 0 / 451.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/0.3598, allocations: 5.872 MB / 457.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.81, allocations: 3.859 kB / 457.7 MB, free: 11.55 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv","/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_trunk_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: 14.600796942999295]