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.001228/0.001228, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.001308/0.001308, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.424/1.424, allocations: 230.6 MB / 254.8 MB, free: 15.1 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 51.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 53.33 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004724/0.1084, allocations: 3.316 MB / 430.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.1107, allocations: 1.413 MB / 431.7 MB, free: 28 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.1109, allocations: 11.94 kB / 431.8 MB, free: 16 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.19/0.3008, allocations: 144.6 kB / 431.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.302, allocations: 434.3 kB / 432.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.3024, allocations: 177.3 kB / 432.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005838/0.303, allocations: 465.8 kB / 432.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.3032, allocations: 108.2 kB / 433.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.3034, allocations: 185.4 kB / 433.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.3037, allocations: 201.5 kB / 433.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.3037, allocations: 34.09 kB / 433.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.304, allocations: 167.8 kB / 433.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.3041, allocations: 82.41 kB / 433.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.3042, allocations: 193.7 kB / 433.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005938/0.3048, allocations: 0.5558 MB / 434.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3048, allocations: 0 / 434.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3048, allocations: 1.781 kB / 434.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.3048, allocations: 1.125 kB / 434.5 MB, free: 7.289 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.001308/0.3061, allocations: 0.7558 MB / 435.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3062, allocations: 9.812 kB / 435.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.026e-05/0.3062, allocations: 8.906 kB / 435.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/0.3062, allocations: 70.19 kB / 435.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007229/0.307, allocations: 118 kB / 435.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.3074, allocations: 318.2 kB / 435.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.3074, allocations: 30.53 kB / 435.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/0.3074, allocations: 34.41 kB / 435.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.308, allocations: 356.6 kB / 436.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.308, allocations: 0 / 436.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.308, allocations: 13.56 kB / 436.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.308, allocations: 9.5 kB / 436.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.3085, allocations: 249.2 kB / 436.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.3102, allocations: 1.324 MB / 437.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.3106, allocations: 181.6 kB / 437.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.3107, allocations: 85.5 kB / 438 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006731/0.3114, allocations: 1.203 MB / 439.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3114, allocations: 37.3 kB / 439.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.3114, allocations: 0 / 439.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005079/0.3119, allocations: 221.2 kB / 439.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.312, allocations: 80.59 kB / 439.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.3122, allocations: 292 kB / 439.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.3122, allocations: 30.98 kB / 439.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3123, allocations: 239.2 kB / 440.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.3124, allocations: 76.09 kB / 440.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.3125, allocations: 62.73 kB / 440.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.3125, allocations: 336.9 kB / 440.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.3127, allocations: 67.77 kB / 440.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.3129, allocations: 198.2 kB / 440.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.3132, allocations: 290.7 kB / 441.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3132, allocations: 0.875 kB / 441.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005031/0.3137, allocations: 327.5 kB / 441.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3137, allocations: 6.625 kB / 441.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3137, allocations: 5.328 kB / 441.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.3137, allocations: 10.81 kB / 441.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.314, allocations: 85.38 kB / 441.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.314, allocations: 11.95 kB / 441.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.3142, allocations: 38.66 kB / 441.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.3143, allocations: 16.91 kB / 441.6 MB, free: 2.805 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.0001085/0.3144, allocations: 148.4 kB / 441.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.3144, allocations: 33.41 kB / 441.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.3145, allocations: 28.72 kB / 441.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3145, allocations: 6.109 kB / 441.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3145, allocations: 9.375 kB / 441.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3145, allocations: 1.969 kB / 441.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006163/0.3151, allocations: 0.5041 MB / 442.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3151, allocations: 5.906 kB / 442.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.3153, allocations: 45.11 kB / 442.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3153, allocations: 1.125 kB / 442.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3154, allocations: 7.688 kB / 442.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3154, allocations: 6.344 kB / 442.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3154, allocations: 0.9844 kB / 442.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.3158, allocations: 427.9 kB / 442.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.3159, allocations: 113.7 kB / 442.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.3159, allocations: 10.92 kB / 442.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.3161, allocations: 12.62 kB / 442.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.3162, allocations: 13.97 kB / 442.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.3162, allocations: 4.359 kB / 442.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.3163, allocations: 201.2 kB / 443.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3163, allocations: 1.5 kB / 443.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.3167, allocations: 76.8 kB / 443.2 MB, free: 1.656 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.0006366/0.3174, allocations: 0.9709 MB / 444.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.3177, allocations: 180.6 kB / 444.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3177, allocations: 384 / 444.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3179, allocations: 71.81 kB / 444.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3183, allocations: 36.05 kB / 444.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.3221, allocations: 3.12 MB / 447.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.3226, allocations: 0.7736 MB / 448.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.3228, allocations: 40.64 kB / 448.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.3229, allocations: 105.6 kB / 448.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3229, allocations: 0 / 448.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.3487, allocations: 5.645 MB / 454.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.565, allocations: 10.14 kB / 454.1 MB, free: 12.91 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] 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: 11.452961037051864]