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.001152/0.001153, allocations: 114.4 kB / 16.63 MB, free: 6.809 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.001221/0.001222, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.339/1.339, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 54.41 kB / 300.2 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08908, allocations: 49.44 MB / 349.7 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006648/0.09576, allocations: 5.588 MB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003036/0.09882, allocations: 1.783 MB / 357.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004931/0.09933, allocations: 20 kB / 357.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003311/0.1027, allocations: 1.527 MB / 358.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.1044, allocations: 0.6767 MB / 359.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.105, allocations: 259.2 kB / 359.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009252/0.106, allocations: 0.8055 MB / 360.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.1074, allocations: 0.9773 MB / 361.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004578/0.1078, allocations: 346.7 kB / 361.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006401/0.1085, allocations: 494.2 kB / 362.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.1086, allocations: 87.98 kB / 362.2 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005327/0.1092, allocations: 235.8 kB / 362.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.1093, allocations: 183.4 kB / 362.6 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.1097, allocations: 429.9 kB / 363 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.1108, allocations: 1.152 MB / 364.2 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1108, allocations: 0 / 364.2 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1108, allocations: 0 / 364.2 MB, free: 6.078 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1108, allocations: 0 / 364.2 MB, free: 6.078 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.003113/0.1139, allocations: 1.346 MB / 365.5 MB, free: 4.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.114, allocations: 12.03 kB / 365.6 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.1141, allocations: 152.3 kB / 365.7 MB, free: 4.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004689/0.1188, allocations: 0.6516 MB / 366.4 MB, free: 3.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.1193, allocations: 421.5 kB / 366.8 MB, free: 3.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.1194, allocations: 66.38 kB / 366.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.1195, allocations: 96.38 kB / 366.9 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.1211, allocations: 0.9861 MB / 367.9 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.1211, allocations: 4 kB / 367.9 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.999e-05/0.1212, allocations: 36 kB / 368 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.1212, allocations: 24 kB / 368 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.1228, allocations: 0.9252 MB / 368.9 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1443/0.2671, allocations: 3.367 MB / 372.3 MB, free: 23.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.2691, allocations: 2.237 MB / 374.5 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.2695, allocations: 298.6 kB / 374.8 MB, free: 21.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-05/0.2696, allocations: 95.72 kB / 374.9 MB, free: 21.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.2696, allocations: 40.75 kB / 374.9 MB, free: 21.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.585e-06/0.2696, allocations: 0 / 374.9 MB, free: 21.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001326/0.271, allocations: 0.7191 MB / 375.7 MB, free: 21.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.271, allocations: 113.2 kB / 375.8 MB, free: 20.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.2713, allocations: 266.1 kB / 376 MB, free: 20.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.2713, allocations: 37.27 kB / 376.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.2715, allocations: 381.5 kB / 376.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.2716, allocations: 225.2 kB / 376.6 MB, free: 20.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.2718, allocations: 139.2 kB / 376.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.565e-05/0.2718, allocations: 346.9 kB / 377.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.2722, allocations: 221.5 kB / 377.3 MB, free: 19.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.2727, allocations: 442.1 kB / 377.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008396/0.2735, allocations: 0.6902 MB / 378.5 MB, free: 18.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.2736, allocations: 6.656 kB / 378.5 MB, free: 18.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001136/0.2747, allocations: 0.7479 MB / 379.2 MB, free: 18.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.2747, allocations: 7.484 kB / 379.2 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2748, allocations: 6.656 kB / 379.2 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.2748, allocations: 11.47 kB / 379.2 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.2755, allocations: 190.9 kB / 379.4 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.2755, allocations: 16.36 kB / 379.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.2759, allocations: 82.12 kB / 379.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.276, allocations: 30.8 kB / 379.6 MB, free: 18.57 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.0002441/0.2762, allocations: 224.2 kB / 379.8 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2763, allocations: 46.88 kB / 379.8 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.2776, allocations: 0.6462 MB / 380.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.2776, allocations: 7.062 kB / 380.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2776, allocations: 5.219 kB / 380.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.2776, allocations: 4.891 kB / 380.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.2799, allocations: 1.486 MB / 382 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2799, allocations: 1.094 kB / 382 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.2805, allocations: 143.7 kB / 382.1 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.537e-06/0.2805, allocations: 3.219 kB / 382.1 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.2806, allocations: 15.3 kB / 382.1 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.2806, allocations: 3.125 kB / 382.1 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2806, allocations: 1.812 kB / 382.1 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.2821, allocations: 1.118 MB / 383.3 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.2822, allocations: 123.7 kB / 383.4 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.2823, allocations: 12.53 kB / 383.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.2827, allocations: 28.78 kB / 383.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.2828, allocations: 48.28 kB / 383.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.2828, allocations: 19.98 kB / 383.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.283, allocations: 184.7 kB / 383.7 MB, free: 16.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.283, allocations: 0 / 383.7 MB, free: 16.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000765/0.2838, allocations: 229.5 kB / 383.9 MB, free: 16.25 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.001744/0.2856, allocations: 1.708 MB / 385.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.287, allocations: 0.6379 MB / 386.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.287, allocations: 0 / 386.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.2874, allocations: 309.2 kB / 386.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.2881, allocations: 39.55 kB / 386.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006015/0.2941, allocations: 5.208 MB / 391.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.2945, allocations: 0.9003 MB / 392.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.2948, allocations: 83.92 kB / 392.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.2951, allocations: 249.5 kB / 393 MB, free: 10.12 MB / 302.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2951, allocations: 3.969 kB / 393 MB, free: 10.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.3153, allocations: 9.209 MB / 402.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/0.3155, allocations: 216.8 kB / 402.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/2.55, allocations: 0 / 402.4 MB, free: 4.867 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