Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 91.88 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 182 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.3 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 8.719 kB / 301.5 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1033, allocations: 50.42 MB / 351.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005546/0.1089, allocations: 5.105 MB / 357.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003334/0.1122, allocations: 1.768 MB / 358.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.1129, allocations: 19.94 kB / 358.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007983/0.1137, allocations: 274.9 kB / 359.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.1156, allocations: 0.6807 MB / 359.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007057/0.1163, allocations: 255.6 kB / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.1174, allocations: 0.7548 MB / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003031/0.1204, allocations: 1.671 MB / 362.5 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.1209, allocations: 298.7 kB / 362.8 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.1214, allocations: 434.1 kB / 363.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.775e-05/0.1215, allocations: 40 kB / 363.2 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.1221, allocations: 195.8 kB / 363.4 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1222, allocations: 139.4 kB / 363.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.1226, allocations: 395.7 kB / 363.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.1238, allocations: 1.101 MB / 365 MB, free: 6.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1238, allocations: 4 kB / 365 MB, free: 6.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1238, allocations: 0 / 365 MB, free: 6.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.1238, allocations: 0 / 365 MB, free: 6.371 MB / 302.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.00312/0.1269, allocations: 1.194 MB / 366.2 MB, free: 5.129 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.127, allocations: 8.031 kB / 366.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001988/0.1272, allocations: 144.3 kB / 366.4 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/0.132, allocations: 0.6556 MB / 367 MB, free: 4.316 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.1325, allocations: 417.9 kB / 367.4 MB, free: 3.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/0.1326, allocations: 78.31 kB / 367.5 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.1328, allocations: 96.38 kB / 367.6 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.1345, allocations: 0.9977 MB / 368.6 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.1346, allocations: 0 / 368.6 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.59e-05/0.1347, allocations: 40 kB / 368.7 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.1347, allocations: 28 kB / 368.7 MB, free: 2.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.1364, allocations: 0.9292 MB / 369.6 MB, free: 1.691 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.168/0.3044, allocations: 3.37 MB / 373 MB, free: 22.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.3069, allocations: 2.241 MB / 375.2 MB, free: 20.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.3075, allocations: 301.5 kB / 375.5 MB, free: 20.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.797e-05/0.3076, allocations: 99.8 kB / 375.6 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3076, allocations: 42.59 kB / 375.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.695e-06/0.3076, allocations: 7.766 kB / 375.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001616/0.3092, allocations: 0.7348 MB / 376.4 MB, free: 20.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3093, allocations: 113.7 kB / 376.5 MB, free: 19.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.3096, allocations: 267.2 kB / 376.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.3096, allocations: 38.36 kB / 376.8 MB, free: 19.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.3099, allocations: 379.6 kB / 377.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.31, allocations: 222.5 kB / 377.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.3101, allocations: 66.98 kB / 377.5 MB, free: 19.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.3102, allocations: 350.2 kB / 377.8 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.3107, allocations: 228.6 kB / 378 MB, free: 19.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.3112, allocations: 446 kB / 378.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00093/0.3121, allocations: 0.6995 MB / 379.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3121, allocations: 2.609 kB / 379.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001286/0.3134, allocations: 0.7659 MB / 379.9 MB, free: 17.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3135, allocations: 7.859 kB / 379.9 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.3135, allocations: 5.875 kB / 379.9 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.3135, allocations: 10.88 kB / 380 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.3142, allocations: 192.8 kB / 380.1 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.3143, allocations: 16.45 kB / 380.2 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.3147, allocations: 84.7 kB / 380.2 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.3147, allocations: 32.33 kB / 380.3 MB, free: 17.81 MB / 302.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.0002525/0.315, allocations: 219.3 kB / 380.5 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3151, allocations: 41.66 kB / 380.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.3163, allocations: 0.6557 MB / 381.2 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3164, allocations: 7.656 kB / 381.2 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3164, allocations: 1.688 kB / 381.2 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3164, allocations: 4.438 kB / 381.2 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.3187, allocations: 1.496 MB / 382.7 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3187, allocations: 0 / 382.7 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.3192, allocations: 149.8 kB / 382.8 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.3193, allocations: 8.266 kB / 382.8 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/0.3193, allocations: 21.59 kB / 382.9 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3193, allocations: 3.969 kB / 382.9 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3193, allocations: 1.25 kB / 382.9 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.3209, allocations: 1.128 MB / 384 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.321, allocations: 124.9 kB / 384.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.321, allocations: 16.69 kB / 384.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.3214, allocations: 31.02 kB / 384.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3215, allocations: 42.06 kB / 384.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.3216, allocations: 18.66 kB / 384.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.3217, allocations: 185.6 kB / 384.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3218, allocations: 0 / 384.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007644/0.3225, allocations: 222.3 kB / 384.6 MB, free: 15.5 MB / 302.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.001807/0.3243, allocations: 1.73 MB / 386.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.3256, allocations: 0.6205 MB / 387 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3257, allocations: 3.938 kB / 387 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.3262, allocations: 311.7 kB / 387.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.3268, allocations: 44.16 kB / 387.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/0.3328, allocations: 5.287 MB / 392.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.3331, allocations: 0.8981 MB / 393.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003474/0.3335, allocations: 76.48 kB / 393.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.3338, allocations: 255.3 kB / 393.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3338, allocations: 1.75 kB / 393.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.3518, allocations: 8.825 MB / 402.7 MB, free: 4.875 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.352, allocations: 217.9 kB / 402.9 MB, free: 4.625 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.488, allocations: 0 / 402.9 MB, free: 4.625 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches