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.001061/0.001061, allocations: 106.7 kB / 16.51 MB, free: 6.707 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.001023/0.001023, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.403/1.403, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 47.58 kB / 300.1 MB, free: 6.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09409, allocations: 49.44 MB / 349.5 MB, free: 4.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006877/0.101, allocations: 5.581 MB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.1042, allocations: 1.803 MB / 356.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006079/0.1049, allocations: 16 kB / 356.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003341/0.1082, allocations: 1.535 MB / 358.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.11, allocations: 0.6884 MB / 359.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006978/0.1107, allocations: 259.5 kB / 359.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.1118, allocations: 0.7687 MB / 360.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.1132, allocations: 0.7872 MB / 360.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.1137, allocations: 334.7 kB / 361.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006006/0.1143, allocations: 478.2 kB / 361.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.1144, allocations: 60 kB / 361.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.1149, allocations: 227.8 kB / 362 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.1151, allocations: 171.3 kB / 362.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004323/0.1155, allocations: 406 kB / 362.6 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.1167, allocations: 1.137 MB / 363.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1167, allocations: 0 / 363.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1167, allocations: 0 / 363.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.1168, allocations: 0 / 363.7 MB, free: 6.441 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.003432/0.1202, allocations: 1.35 MB / 365.1 MB, free: 5.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1203, allocations: 15.97 kB / 365.1 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.1205, allocations: 152.3 kB / 365.2 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004694/0.1252, allocations: 0.6477 MB / 365.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.1257, allocations: 415.1 kB / 366.3 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.1258, allocations: 74.38 kB / 366.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.1259, allocations: 92.31 kB / 366.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.1276, allocations: 0.9977 MB / 367.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.1277, allocations: 0 / 367.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.07e-05/0.1277, allocations: 40 kB / 367.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.1278, allocations: 20 kB / 367.5 MB, free: 2.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.1294, allocations: 0.9214 MB / 368.4 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1387/0.2681, allocations: 3.357 MB / 371.8 MB, free: 23.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.2701, allocations: 2.248 MB / 374 MB, free: 21.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004502/0.2706, allocations: 291.6 kB / 374.3 MB, free: 21.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.948e-05/0.2707, allocations: 98.03 kB / 374.4 MB, free: 21.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.2707, allocations: 46.27 kB / 374.4 MB, free: 21.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.795e-06/0.2707, allocations: 6.297 kB / 374.5 MB, free: 21.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001361/0.2721, allocations: 0.7088 MB / 375.2 MB, free: 21.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.2721, allocations: 111.1 kB / 375.3 MB, free: 20.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.2724, allocations: 274.4 kB / 375.5 MB, free: 20.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.2724, allocations: 39.84 kB / 375.6 MB, free: 20.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.2726, allocations: 377.7 kB / 375.9 MB, free: 20.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.2727, allocations: 223.1 kB / 376.2 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.2729, allocations: 135.4 kB / 376.3 MB, free: 20.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.568e-05/0.273, allocations: 347.8 kB / 376.6 MB, free: 19.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.2733, allocations: 221.3 kB / 376.9 MB, free: 19.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.2738, allocations: 441.5 kB / 377.3 MB, free: 19.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008324/0.2747, allocations: 0.6959 MB / 378 MB, free: 18.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.2747, allocations: 1.25 kB / 378 MB, free: 18.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00112/0.2758, allocations: 0.7479 MB / 378.7 MB, free: 18.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.2758, allocations: 10.14 kB / 378.7 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2758, allocations: 6.875 kB / 378.7 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.2759, allocations: 12.77 kB / 378.8 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/0.2765, allocations: 192.6 kB / 378.9 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.2766, allocations: 17.67 kB / 379 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.277, allocations: 82.14 kB / 379 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.277, allocations: 31.41 kB / 379.1 MB, free: 18.54 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.0002214/0.2772, allocations: 223.3 kB / 379.3 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2774, allocations: 39.12 kB / 379.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.2785, allocations: 0.6467 MB / 380 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2786, allocations: 12.62 kB / 380 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2786, allocations: 0.75 kB / 380 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.2786, allocations: 9.5 kB / 380 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.2807, allocations: 1.481 MB / 381.5 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2807, allocations: 4.734 kB / 381.5 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.2813, allocations: 144.4 kB / 381.6 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2813, allocations: 5.344 kB / 381.6 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.2813, allocations: 20.8 kB / 381.7 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2813, allocations: 4.203 kB / 381.7 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2813, allocations: 3.938 kB / 381.7 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.2827, allocations: 1.114 MB / 382.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.2828, allocations: 119.9 kB / 382.9 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.2829, allocations: 15.98 kB / 382.9 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.2833, allocations: 26.16 kB / 382.9 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.2834, allocations: 41 kB / 383 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.2834, allocations: 19.83 kB / 383 MB, free: 16.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.2836, allocations: 187.8 kB / 383.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2836, allocations: 0 / 383.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007511/0.2844, allocations: 226.1 kB / 383.4 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.001845/0.2862, allocations: 1.708 MB / 385.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.2873, allocations: 0.6065 MB / 385.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2873, allocations: 1.812 kB / 385.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004372/0.2877, allocations: 309.6 kB / 386 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.2883, allocations: 39.5 kB / 386.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.2942, allocations: 5.203 MB / 391.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.2946, allocations: 0.9066 MB / 392.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003788/0.295, allocations: 76.44 kB / 392.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.2953, allocations: 257.5 kB / 392.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2953, allocations: 0 / 392.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.3142, allocations: 8.98 MB / 401.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/0.3143, allocations: 221.4 kB / 401.7 MB, free: 5.438 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.295, allocations: 3.938 kB / 401.7 MB, free: 5.434 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