Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.001448/0.001448, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001508/0.001508, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.482/1.482, allocations: 230.5 MB / 258.2 MB, free: 7.742 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.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 59.91 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.261, allocations: 53.41 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007952/0.2689, allocations: 5.004 MB / 436.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.2731, allocations: 1.768 MB / 438.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006449/0.2738, allocations: 20 kB / 438.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003839/0.2776, allocations: 1.492 MB / 440.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.2794, allocations: 0.5827 MB / 440.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009438/0.2804, allocations: 395 kB / 441.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.2816, allocations: 0.8055 MB / 442 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.283, allocations: 0.7549 MB / 442.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006393/0.2837, allocations: 370.6 kB / 443.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007884/0.2844, allocations: 490.1 kB / 443.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.2847, allocations: 83.94 kB / 443.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.2853, allocations: 239.8 kB / 443.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.2855, allocations: 187.4 kB / 444.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005177/0.2861, allocations: 342.3 kB / 444.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.2877, allocations: 1.185 MB / 445.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2877, allocations: 0 / 445.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2877, allocations: 0 / 445.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.213e-05/0.2877, allocations: 0 / 445.6 MB, free: 8.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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003829/0.2915, allocations: 1.3 MB / 446.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2916, allocations: 12.03 kB / 446.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.181e-05/0.2916, allocations: 26.19 kB / 446.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002454/0.2919, allocations: 148.3 kB / 447.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004679/0.2965, allocations: 0.6208 MB / 447.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000871/0.2974, allocations: 364.1 kB / 448 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.267e-05/0.2975, allocations: 70.38 kB / 448.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.2977, allocations: 92.38 kB / 448.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.3, allocations: 1.027 MB / 449.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.3001, allocations: 0 / 449.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.3002, allocations: 40 kB / 449.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.3002, allocations: 20 kB / 449.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.302, allocations: 0.933 MB / 450.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004968/0.307, allocations: 2.913 MB / 453.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.3089, allocations: 0.7522 MB / 453.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.3093, allocations: 255.8 kB / 454.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.3094, allocations: 28.64 kB / 454.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3095, allocations: 51.14 kB / 454.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.525e-06/0.3095, allocations: 0 / 454.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001461/0.3109, allocations: 0.724 MB / 454.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.311, allocations: 111.5 kB / 455 MB, free: 14.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.3113, allocations: 273.7 kB / 455.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.3114, allocations: 37.7 kB / 455.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.3116, allocations: 395.9 kB / 455.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.3118, allocations: 238.3 kB / 456 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.312, allocations: 134.6 kB / 456.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.3122, allocations: 350.8 kB / 456.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.3127, allocations: 217.9 kB / 456.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.3133, allocations: 443.4 kB / 457.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.3144, allocations: 0.6969 MB / 457.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.3144, allocations: 4 kB / 457.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0014/0.3158, allocations: 0.7585 MB / 458.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.3159, allocations: 8 kB / 458.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.3159, allocations: 15.94 kB / 458.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.3159, allocations: 8 kB / 458.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/0.3166, allocations: 196.2 kB / 458.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/0.3166, allocations: 19.94 kB / 458.8 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.3171, allocations: 79.39 kB / 458.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/0.3171, allocations: 32 kB / 458.9 MB, free: 10.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.0003076/0.3174, allocations: 225.6 kB / 459.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.3176, allocations: 43.69 kB / 459.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.3189, allocations: 0.6501 MB / 459.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.3189, allocations: 8 kB / 459.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3189, allocations: 0 / 459.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.3189, allocations: 3.984 kB / 459.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/0.3215, allocations: 1.369 MB / 461.2 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3215, allocations: 4 kB / 461.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006169/0.3222, allocations: 143.7 kB / 461.3 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.3222, allocations: 8 kB / 461.3 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.3222, allocations: 23.92 kB / 461.4 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.3222, allocations: 4 kB / 461.4 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3222, allocations: 0 / 461.4 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.324, allocations: 1.12 MB / 462.5 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3241, allocations: 51.66 kB / 462.5 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/0.3241, allocations: 15.94 kB / 462.6 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.3245, allocations: 24.05 kB / 462.6 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3246, allocations: 44.58 kB / 462.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.3247, allocations: 23.98 kB / 462.6 MB, free: 7.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.3249, allocations: 181.2 kB / 462.8 MB, free: 6.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3249, allocations: 0 / 462.8 MB, free: 6.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008229/0.3257, allocations: 235.3 kB / 463.1 MB, free: 6.648 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * 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.002179/0.3279, allocations: 1.711 MB / 464.8 MB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.329, allocations: 0.577 MB / 465.3 MB, free: 4.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.329, allocations: 0 / 465.3 MB, free: 4.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.3295, allocations: 275.9 kB / 465.6 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.3301, allocations: 47.73 kB / 465.7 MB, free: 4.027 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007202/0.3373, allocations: 4.839 MB / 470.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.3376, allocations: 311.7 kB / 470.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002987/0.3379, allocations: 76.39 kB / 470.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.3383, allocations: 259.3 kB / 471.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3383, allocations: 0 / 471.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/0.3768, allocations: 10.22 MB / 481.3 MB, free: 4.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.26, allocations: 11.36 kB / 481.4 MB, free: 4.188 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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: 15.229928880929947]