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.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 3.2.3+maint.om/package.mo", uses=false) 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.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.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_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.001069/0.001069, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001187/0.001187, allocations: 184.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 55.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09056/0.09189, allocations: 46.61 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.1996/0.2915, allocations: 5.879 MB / 380.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005108/0.2967, allocations: 1.901 MB / 382.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.298, allocations: 22.41 kB / 382.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004351/0.3024, allocations: 1.632 MB / 384.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.3053, allocations: 0.8276 MB / 384.9 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.3063, allocations: 286.4 kB / 385.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.3076, allocations: 0.8915 MB / 386.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.309, allocations: 0.8789 MB / 386.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005936/0.3096, allocations: 394.5 kB / 387.3 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006291/0.3102, allocations: 0.5305 MB / 387.9 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.3104, allocations: 87.38 kB / 388 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007622/0.3111, allocations: 251.3 kB / 388.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.3113, allocations: 206.9 kB / 388.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004025/0.3117, allocations: 462.5 kB / 388.9 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.3134, allocations: 1.238 MB / 390.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3135, allocations: 1.188 kB / 390.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3135, allocations: 0 / 390.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.3135, allocations: 0 / 390.1 MB, free: 6.02 MB / 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.003613/0.3171, allocations: 1.45 MB / 391.5 MB, free: 5.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3172, allocations: 10.5 kB / 391.5 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.3173, allocations: 161.2 kB / 391.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007053/0.3244, allocations: 0.9675 MB / 392.7 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000871/0.3253, allocations: 444.9 kB / 393.1 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-05/0.3254, allocations: 83.67 kB / 393.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.3256, allocations: 109.9 kB / 393.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.3276, allocations: 1.132 MB / 394.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.3276, allocations: 2.094 kB / 394.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.383e-05/0.3277, allocations: 48.56 kB / 394.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.3278, allocations: 26.03 kB / 394.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.3297, allocations: 1.133 MB / 395.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004948/0.3347, allocations: 3.939 MB / 399.6 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.338, allocations: 3.757 MB / 403.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.3385, allocations: 323.2 kB / 403.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.3387, allocations: 95.75 kB / 403.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.3387, allocations: 50.41 kB / 403.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.495e-06/0.3388, allocations: 3.938 kB / 403.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001598/0.3404, allocations: 0.7534 MB / 404.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.3404, allocations: 115.7 kB / 404.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.3409, allocations: 322 kB / 405 MB, free: 12.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.341, allocations: 36.95 kB / 405 MB, free: 12.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.3413, allocations: 460.8 kB / 405.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.3415, allocations: 256.2 kB / 405.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.3418, allocations: 176.4 kB / 405.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3419, allocations: 352.2 kB / 406.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.3424, allocations: 245.2 kB / 406.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.3431, allocations: 0.5715 MB / 407 MB, free: 10.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.3443, allocations: 0.8724 MB / 407.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.3443, allocations: 2.406 kB / 407.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001483/0.3458, allocations: 0.896 MB / 408.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3458, allocations: 13.66 kB / 408.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.3458, allocations: 11.19 kB / 408.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.3459, allocations: 20.28 kB / 408.9 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007948/0.3467, allocations: 241 kB / 409.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.477e-05/0.3467, allocations: 23.47 kB / 409.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.3473, allocations: 107.5 kB / 409.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.3473, allocations: 48.03 kB / 409.3 MB, free: 9 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.0003547/0.3477, allocations: 244.6 kB / 409.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.3478, allocations: 49.78 kB / 409.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.3491, allocations: 0.6796 MB / 410.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.3491, allocations: 7.688 kB / 410.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3491, allocations: 5.312 kB / 410.2 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.3491, allocations: 5.172 kB / 410.3 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.3516, allocations: 1.575 MB / 411.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3517, allocations: 1.062 kB / 411.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/0.3523, allocations: 148.5 kB / 412 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.3523, allocations: 3.469 kB / 412 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.3523, allocations: 16.48 kB / 412 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.3523, allocations: 3.438 kB / 412 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3524, allocations: 1 kB / 412 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.3541, allocations: 1.187 MB / 413.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.3542, allocations: 130.7 kB / 413.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/0.3543, allocations: 17.31 kB / 413.3 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.3547, allocations: 22.89 kB / 413.3 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3548, allocations: 44.88 kB / 413.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.3548, allocations: 19.62 kB / 413.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003011/0.3552, allocations: 217.6 kB / 413.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3552, allocations: 0 / 413.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001079/0.3563, allocations: 247.7 kB / 413.9 MB, free: 6.078 MB / 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.002284/0.3585, allocations: 1.758 MB / 415.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.3598, allocations: 0.6926 MB / 416.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3599, allocations: 0 / 416.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.3603, allocations: 326.3 kB / 416.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.3609, allocations: 42.84 kB / 416.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007338/0.3682, allocations: 5.536 MB / 422.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.3688, allocations: 0.9281 MB / 423.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003509/0.3691, allocations: 96.88 kB / 423.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/0.3695, allocations: 287.3 kB / 423.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3695, allocations: 0 / 423.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.4007, allocations: 10.5 MB / 434 MB, free: 2.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.759/9.16, allocations: 15.78 kB / 434 MB, free: 2.645 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.csv","/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) Reference file matches