Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.001566/0.001566, allocations: 101.4 kB / 21.95 MB, free: 5.219 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.001743/0.001743, allocations: 214 kB / 25.26 MB, free: 3.129 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.388/1.388, allocations: 207.7 MB / 236.1 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [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.001731/0.001731, allocations: 59.92 kB / 348 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.263, allocations: 49.16 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006445/0.2695, allocations: 5.204 MB / 402.3 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.2731, allocations: 1.796 MB / 404.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.2734, allocations: 22.19 kB / 404.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003074/0.2765, allocations: 1.517 MB / 405.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.2784, allocations: 0.6505 MB / 406.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009307/0.2793, allocations: 388.5 kB / 406.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.2805, allocations: 0.9042 MB / 407.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.2817, allocations: 0.7878 MB / 408.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004759/0.2822, allocations: 403.1 kB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005973/0.2828, allocations: 0.5338 MB / 409.3 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.2829, allocations: 83.97 kB / 409.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006093/0.2835, allocations: 241 kB / 409.6 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.2837, allocations: 203.7 kB / 409.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003608/0.284, allocations: 382.1 kB / 410.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.2859, allocations: 1.249 MB / 411.5 MB, free: 264 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.2859, allocations: 1.312 kB / 411.5 MB, free: 264 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.2859, allocations: 7.938 kB / 411.5 MB, free: 256 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.2859, allocations: 0 / 411.5 MB, free: 256 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003588/0.2895, allocations: 1.371 MB / 412.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.2895, allocations: 14.08 kB / 412.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.45e-05/0.2896, allocations: 28.98 kB / 412.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.2898, allocations: 162.8 kB / 413 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006803/0.2966, allocations: 0.9662 MB / 414 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.2975, allocations: 388.3 kB / 414.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.2976, allocations: 82.64 kB / 414.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.2977, allocations: 109.6 kB / 414.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.2997, allocations: 1.158 MB / 415.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.2998, allocations: 0 / 415.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.2999, allocations: 45.56 kB / 415.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.2999, allocations: 31.03 kB / 415.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.3019, allocations: 1.131 MB / 416.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/0.3078, allocations: 3.245 MB / 420.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.31, allocations: 0.9005 MB / 421.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/0.3105, allocations: 280 kB / 421.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.572e-05/0.3106, allocations: 24.7 kB / 421.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.3107, allocations: 44.5 kB / 421.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.597e-06/0.3107, allocations: 0 / 421.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001528/0.3122, allocations: 0.7547 MB / 422.2 MB, free: 9.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.3123, allocations: 119.2 kB / 422.3 MB, free: 9.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.3127, allocations: 324.5 kB / 422.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.3128, allocations: 37.48 kB / 422.6 MB, free: 9.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.3131, allocations: 459.8 kB / 423.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.3133, allocations: 259.7 kB / 423.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.3136, allocations: 176.2 kB / 423.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3138, allocations: 357 kB / 423.9 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/0.3142, allocations: 251.2 kB / 424.1 MB, free: 7.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007103/0.3149, allocations: 0.5552 MB / 424.7 MB, free: 7.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.3162, allocations: 0.8797 MB / 425.6 MB, free: 5.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3162, allocations: 0 / 425.6 MB, free: 5.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001456/0.3176, allocations: 0.899 MB / 426.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.3176, allocations: 12 kB / 426.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.3177, allocations: 8 kB / 426.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/0.3177, allocations: 19.98 kB / 426.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/0.3185, allocations: 244.3 kB / 426.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.893e-05/0.3185, allocations: 23.92 kB / 426.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.319, allocations: 107.2 kB / 426.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/0.3191, allocations: 47.98 kB / 426.9 MB, free: 4.621 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0003639/0.3195, allocations: 237.5 kB / 427.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.3196, allocations: 51.66 kB / 427.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.3209, allocations: 0.6822 MB / 427.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.3209, allocations: 12 kB / 427.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3209, allocations: 0 / 427.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.3209, allocations: 3.984 kB / 427.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.3235, allocations: 1.471 MB / 429.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3235, allocations: 0 / 429.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/0.3241, allocations: 155.8 kB / 429.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.3241, allocations: 4 kB / 429.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.3241, allocations: 12 kB / 429.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.166e-06/0.3241, allocations: 11.94 kB / 429.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3241, allocations: 0 / 429.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.3259, allocations: 1.163 MB / 430.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.326, allocations: 55.58 kB / 430.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/0.326, allocations: 15.98 kB / 430.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.3264, allocations: 24 kB / 430.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3265, allocations: 44.56 kB / 430.8 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/0.3265, allocations: 36.05 kB / 430.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.3268, allocations: 211 kB / 431.1 MB, free: 372 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3268, allocations: 0 / 431.1 MB, free: 372 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009194/0.3277, allocations: 251.3 kB / 431.3 MB, free: 120 kB / 334.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 (78): * Single equations (assignments): 78 * 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.002146/0.3299, allocations: 1.746 MB / 433.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.3311, allocations: 0.6479 MB / 433.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3311, allocations: 0 / 433.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.3315, allocations: 288.1 kB / 434 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.3321, allocations: 57.02 kB / 434.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/0.3397, allocations: 5.544 MB / 439.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3401, allocations: 337.2 kB / 439.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003372/0.3404, allocations: 92.88 kB / 440 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.3408, allocations: 287.3 kB / 440.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3408, allocations: 0 / 440.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03772/0.3785, allocations: 11.01 MB / 451.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.91, allocations: 8 kB / 451.3 MB, free: 11.63 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 14.731186322984286]