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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001088/0.001088, allocations: 103.5 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 55.81 kB / 306.4 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07925/0.08041, allocations: 50.53 MB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.00603/0.08646, allocations: 5.597 MB / 362.5 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.08952, allocations: 1.861 MB / 364.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004803/0.09003, allocations: 20 kB / 364.4 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003109/0.09315, allocations: 1.533 MB / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.09444, allocations: 0.5282 MB / 366.4 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.09519, allocations: 391.1 kB / 366.8 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006668/0.09587, allocations: 0.7666 MB / 367.6 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.09697, allocations: 0.7985 MB / 368.4 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003568/0.09734, allocations: 334.7 kB / 368.7 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.09779, allocations: 486.1 kB / 369.2 MB, free: 1.828 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.372e-05/0.09788, allocations: 64 kB / 369.2 MB, free: 1.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.09831, allocations: 223.8 kB / 369.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.09844, allocations: 171.3 kB / 369.6 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.09875, allocations: 405.9 kB / 370 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1479/0.2467, allocations: 1.142 MB / 371.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.2467, allocations: 0.75 kB / 371.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2467, allocations: 0.5625 kB / 371.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.342e-05/0.2468, allocations: 1.031 kB / 371.2 MB, free: 11.57 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.003379/0.2502, allocations: 1.344 MB / 372.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2502, allocations: 9.719 kB / 372.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.2504, allocations: 147.6 kB / 372.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004626/0.255, allocations: 0.6523 MB / 373.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.2555, allocations: 414.5 kB / 373.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.2556, allocations: 74.77 kB / 373.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.2557, allocations: 98.61 kB / 373.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.2574, allocations: 0.992 MB / 374.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.2574, allocations: 1.703 kB / 374.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/0.2575, allocations: 40.69 kB / 374.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.2575, allocations: 23.84 kB / 374.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.259, allocations: 0.9265 MB / 375.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/0.2631, allocations: 3.441 MB / 379.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.265, allocations: 2.231 MB / 381.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004065/0.2654, allocations: 296.4 kB / 381.8 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.2655, allocations: 180.3 kB / 382 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.2655, allocations: 43.95 kB / 382.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.144e-06/0.2655, allocations: 0 / 382.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001259/0.2668, allocations: 0.7147 MB / 382.8 MB, free: 6.238 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.2669, allocations: 115.1 kB / 382.9 MB, free: 6.113 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.2671, allocations: 279.1 kB / 383.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.2672, allocations: 35.17 kB / 383.2 MB, free: 5.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.2673, allocations: 376.2 kB / 383.6 MB, free: 5.602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.2674, allocations: 225.7 kB / 383.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.2676, allocations: 135.9 kB / 383.9 MB, free: 5.359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.2677, allocations: 347.9 kB / 384.2 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.2681, allocations: 220.7 kB / 384.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/0.2685, allocations: 448 kB / 384.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/0.2694, allocations: 0.6994 MB / 385.6 MB, free: 4.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2694, allocations: 5.781 kB / 385.6 MB, free: 4.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001148/0.2706, allocations: 0.7386 MB / 386.3 MB, free: 3.852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.2706, allocations: 15.81 kB / 386.4 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.2706, allocations: 7.531 kB / 386.4 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.2707, allocations: 11.53 kB / 386.4 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/0.2714, allocations: 195.1 kB / 386.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.2715, allocations: 14.83 kB / 386.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.272, allocations: 78.62 kB / 386.7 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.272, allocations: 32.14 kB / 386.7 MB, free: 3.781 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.0002105/0.2723, allocations: 222.6 kB / 386.9 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.2724, allocations: 45.53 kB / 387 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.2737, allocations: 0.6544 MB / 387.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.2738, allocations: 9.484 kB / 387.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2738, allocations: 0 / 387.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.2738, allocations: 8.453 kB / 387.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.276, allocations: 1.477 MB / 389.1 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.276, allocations: 1.344 kB / 389.1 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.2766, allocations: 142.1 kB / 389.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2766, allocations: 9.078 kB / 389.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.2766, allocations: 13 kB / 389.3 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2766, allocations: 7.719 kB / 389.3 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2767, allocations: 1.344 kB / 389.3 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.2782, allocations: 1.12 MB / 390.4 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.2782, allocations: 123.2 kB / 390.5 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.2783, allocations: 13.58 kB / 390.5 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.2787, allocations: 28.98 kB / 390.6 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.2788, allocations: 40.27 kB / 390.6 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.2789, allocations: 23.88 kB / 390.6 MB, free: 1.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.279, allocations: 184.2 kB / 390.8 MB, free: 1.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2791, allocations: 0 / 390.8 MB, free: 1.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007035/0.2798, allocations: 237 kB / 391 MB, free: 1.488 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.001974/0.2817, allocations: 1.69 MB / 392.7 MB, free: 316 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009172/0.2827, allocations: 0.6167 MB / 393.3 MB, free: 120 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2827, allocations: 0 / 393.3 MB, free: 120 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.2831, allocations: 309.5 kB / 393.6 MB, free: 24 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.2837, allocations: 44 kB / 393.7 MB, free: 0 / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00619/0.2899, allocations: 5.2 MB / 398.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.2903, allocations: 0.9057 MB / 399.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000348/0.2907, allocations: 78.02 kB / 399.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.291, allocations: 251.5 kB / 400.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.291, allocations: 4 kB / 400.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.3102, allocations: 9.022 MB / 409.1 MB, free: 4.383 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.3104, allocations: 222.2 kB / 409.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.293, allocations: 2.625 kB / 409.4 MB, free: 4.121 MB / 318.1 MB (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 --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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches