Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007266/0.0007267, allocations: 85.05 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003004, allocations: 12 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2189, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006111/0.2251, allocations: 5.04 MB / 380.2 MB, free: 41.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.2291, allocations: 1.741 MB / 382 MB, free: 40.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008356/0.23, allocations: 18.5 kB / 382 MB, free: 40.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008808/0.2309, allocations: 205.2 kB / 382.2 MB, free: 39.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.2334, allocations: 0.6879 MB / 382.9 MB, free: 39.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008048/0.2342, allocations: 227.7 kB / 383.1 MB, free: 39.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.2355, allocations: 0.8216 MB / 383.9 MB, free: 38.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/0.239, allocations: 1.598 MB / 385.5 MB, free: 37.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006742/0.2397, allocations: 317.9 kB / 385.8 MB, free: 37.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008539/0.2406, allocations: 461.6 kB / 386.3 MB, free: 37.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.2408, allocations: 41.56 kB / 386.3 MB, free: 37.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007753/0.2416, allocations: 187.2 kB / 386.5 MB, free: 37.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.2417, allocations: 158.7 kB / 386.7 MB, free: 36.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006615/0.2424, allocations: 416.1 kB / 387.1 MB, free: 36.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.2436, allocations: 0.9528 MB / 388 MB, free: 35.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2436, allocations: 0 / 388 MB, free: 35.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2436, allocations: 0 / 388 MB, free: 35.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.32e-05/0.2436, allocations: 4 kB / 388 MB, free: 35.79 MB / 298.7 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.004088/0.2477, allocations: 1.237 MB / 389.3 MB, free: 34.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.2478, allocations: 12.03 kB / 389.3 MB, free: 34.49 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002521/0.248, allocations: 165 kB / 389.4 MB, free: 34.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009978/0.258, allocations: 0.9676 MB / 390.4 MB, free: 33.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008657/0.2589, allocations: 454.9 kB / 390.8 MB, free: 32.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.259, allocations: 82.55 kB / 390.9 MB, free: 32.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.2592, allocations: 104.4 kB / 391 MB, free: 32.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.2616, allocations: 1.129 MB / 392.2 MB, free: 31.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.2617, allocations: 0 / 392.2 MB, free: 31.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.2618, allocations: 44 kB / 392.2 MB, free: 31.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.2619, allocations: 28 kB / 392.2 MB, free: 31.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.2642, allocations: 1.136 MB / 393.4 MB, free: 30.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004118/0.2683, allocations: 3.976 MB / 397.3 MB, free: 26.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.2706, allocations: 3.748 MB / 401.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.271, allocations: 318.6 kB / 401.4 MB, free: 21.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-05/0.2711, allocations: 97.66 kB / 401.5 MB, free: 21.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2712, allocations: 47.06 kB / 401.5 MB, free: 21.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 2.485e-06/0.2712, allocations: 0 / 401.5 MB, free: 21.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=71): time 0.001211/0.2724, allocations: 0.7642 MB / 402.3 MB, free: 20.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.2724, allocations: 119.3 kB / 402.4 MB, free: 20.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.2727, allocations: 320.2 kB / 402.7 MB, free: 19.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.2727, allocations: 37.7 kB / 402.8 MB, free: 19.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.2729, allocations: 445.9 kB / 403.2 MB, free: 19.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.273, allocations: 252.5 kB / 403.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.273, allocations: 20 kB / 403.5 MB, free: 19.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.181e-05/0.2731, allocations: 350.8 kB / 403.8 MB, free: 18.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.2735, allocations: 249.9 kB / 404.1 MB, free: 18.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.2739, allocations: 0.563 MB / 404.6 MB, free: 17.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008881/0.2748, allocations: 0.8793 MB / 405.5 MB, free: 16.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.2749, allocations: 7.938 kB / 405.5 MB, free: 16.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001123/0.276, allocations: 0.9026 MB / 406.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.276, allocations: 8 kB / 406.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.276, allocations: 12.75 kB / 406.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.2761, allocations: 19.94 kB / 406.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.2768, allocations: 243.6 kB / 406.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.2768, allocations: 19.94 kB / 406.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.2773, allocations: 103 kB / 406.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.2773, allocations: 48 kB / 406.8 MB, free: 15.51 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002888/0.2776, allocations: 249.5 kB / 407.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.2777, allocations: 51.38 kB / 407.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.2787, allocations: 0.6823 MB / 407.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.2788, allocations: 8 kB / 407.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2788, allocations: 0 / 407.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.2788, allocations: 7.984 kB / 407.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.2807, allocations: 1.59 MB / 409.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2807, allocations: 0 / 409.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.2812, allocations: 159.8 kB / 409.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.2813, allocations: 4 kB / 409.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.2813, allocations: 15.98 kB / 409.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.2813, allocations: 7.938 kB / 409.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2813, allocations: 0 / 409.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.2826, allocations: 1.173 MB / 410.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.2826, allocations: 136.3 kB / 410.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.2827, allocations: 16 kB / 410.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.283, allocations: 28.05 kB / 411 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/0.2831, allocations: 44.59 kB / 411 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.2832, allocations: 23.98 kB / 411 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.2833, allocations: 203.1 kB / 411.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.2833, allocations: 3.938 kB / 411.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000695/0.284, allocations: 251 kB / 411.5 MB, free: 10.77 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/0.2855, allocations: 1.757 MB / 413.2 MB, free: 8.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008872/0.2864, allocations: 0.6938 MB / 413.9 MB, free: 8.289 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2864, allocations: 0 / 413.9 MB, free: 8.289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.2868, allocations: 329 kB / 414.2 MB, free: 7.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.2873, allocations: 49.16 kB / 414.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.2913, allocations: 3.693 MB / 418 MB, free: 4.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.2915, allocations: 0.9283 MB / 418.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.2919, allocations: 295.3 kB / 419.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2919, allocations: 0 / 419.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.74/3.032, allocations: 9.742 MB / 428.9 MB, free: 9.02 MB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches