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.001192/0.001193, allocations: 104.3 kB / 17.16 MB, free: 6.316 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.001323/0.001323, allocations: 190 kB / 18.07 MB, free: 5.414 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.264/1.264, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001198/0.001198, allocations: 44.27 kB / 280.1 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07511/0.07633, allocations: 46.62 MB / 326.7 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005576/0.08193, allocations: 5.845 MB / 332.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.08436, allocations: 1.893 MB / 334.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.0846, allocations: 20 kB / 334.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002669/0.08727, allocations: 1.541 MB / 336 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.08857, allocations: 0.7546 MB / 336.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.08904, allocations: 255.6 kB / 337 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006443/0.08969, allocations: 0.856 MB / 337.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.09072, allocations: 0.8103 MB / 338.7 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.09103, allocations: 366.5 kB / 339 MB, free: 8.359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.09148, allocations: 0.5175 MB / 339.5 MB, free: 7.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.624e-05/0.09158, allocations: 64 kB / 339.6 MB, free: 7.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.09194, allocations: 227.8 kB / 339.8 MB, free: 7.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.09206, allocations: 187.2 kB / 340 MB, free: 7.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.09238, allocations: 449.7 kB / 340.5 MB, free: 6.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000906/0.0933, allocations: 1.203 MB / 341.7 MB, free: 5.723 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.09331, allocations: 0 / 341.7 MB, free: 5.723 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.09332, allocations: 4 kB / 341.7 MB, free: 5.719 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.09333, allocations: 0 / 341.7 MB, free: 5.719 MB / 286.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.002819/0.09615, allocations: 1.421 MB / 343.1 MB, free: 4.246 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.0962, allocations: 12.03 kB / 343.1 MB, free: 4.234 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.09635, allocations: 161 kB / 343.3 MB, free: 4.066 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006284/0.1026, allocations: 0.9637 MB / 344.2 MB, free: 3.102 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.1031, allocations: 454.9 kB / 344.7 MB, free: 2.617 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/0.1032, allocations: 82.55 kB / 344.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.1033, allocations: 108.4 kB / 344.8 MB, free: 2.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.1049, allocations: 1.121 MB / 346 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.105, allocations: 0 / 346 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-05/0.1051, allocations: 51.94 kB / 346 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.1051, allocations: 31.94 kB / 346 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.1068, allocations: 1.136 MB / 347.2 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004457/0.1113, allocations: 3.953 MB / 351.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/0.1142, allocations: 3.759 MB / 354.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/0.1146, allocations: 320.6 kB / 355.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.743e-05/0.1147, allocations: 93.66 kB / 355.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1148, allocations: 47.06 kB / 355.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 1.773e-06/0.1148, allocations: 0 / 355.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001254/0.116, allocations: 0.7561 MB / 356.1 MB, free: 6.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.1161, allocations: 115.4 kB / 356.2 MB, free: 6.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.1164, allocations: 328.5 kB / 356.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.1164, allocations: 37.7 kB / 356.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.1166, allocations: 445.9 kB / 357 MB, free: 5.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.1168, allocations: 244.5 kB / 357.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.117, allocations: 170.5 kB / 357.4 MB, free: 4.809 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1171, allocations: 350.8 kB / 357.8 MB, free: 4.457 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.1175, allocations: 253.9 kB / 358 MB, free: 4.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.1181, allocations: 0.563 MB / 358.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.1191, allocations: 0.8754 MB / 359.4 MB, free: 2.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1191, allocations: 11.94 kB / 359.5 MB, free: 2.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001242/0.1204, allocations: 0.8989 MB / 360.4 MB, free: 1.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1204, allocations: 8 kB / 360.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1204, allocations: 12 kB / 360.4 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1205, allocations: 16 kB / 360.4 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.1212, allocations: 236.2 kB / 360.6 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.1212, allocations: 27.88 kB / 360.6 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.1216, allocations: 106.9 kB / 360.8 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.1217, allocations: 44 kB / 360.8 MB, free: 1.121 MB / 302.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.0002456/0.1219, allocations: 237.5 kB / 361 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.1221, allocations: 51.31 kB / 361.1 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.1231, allocations: 0.6861 MB / 361.8 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.1232, allocations: 15.98 kB / 361.8 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1232, allocations: 0 / 361.8 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1232, allocations: 3.984 kB / 361.8 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.1252, allocations: 1.59 MB / 363.4 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1252, allocations: 0 / 363.4 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.1257, allocations: 151.8 kB / 363.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1258, allocations: 4 kB / 363.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.1258, allocations: 16 kB / 363.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1258, allocations: 7.984 kB / 363.5 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1258, allocations: 0 / 363.5 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.1272, allocations: 1.162 MB / 364.7 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.1273, allocations: 128.4 kB / 364.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.1273, allocations: 19.94 kB / 364.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.1277, allocations: 23.98 kB / 364.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.1278, allocations: 44.53 kB / 364.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.1278, allocations: 24 kB / 364.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.128, allocations: 211.1 kB / 365.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.128, allocations: 4.062 kB / 365.2 MB, free: 12.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006542/0.1287, allocations: 247.1 kB / 365.4 MB, free: 12.41 MB / 318.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.001689/0.1303, allocations: 1.746 MB / 367.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000944/0.1313, allocations: 0.6913 MB / 367.8 MB, free: 9.945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1313, allocations: 8.062 kB / 367.8 MB, free: 9.938 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.1317, allocations: 319.6 kB / 368.2 MB, free: 9.621 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.1323, allocations: 45.09 kB / 368.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/0.1383, allocations: 5.974 MB / 374.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1387, allocations: 0.9322 MB / 375.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000357/0.139, allocations: 84.84 kB / 375.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.1394, allocations: 295.3 kB / 375.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.1394, allocations: 0 / 375.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.493/2.632, allocations: 9.892 MB / 385.4 MB, free: 52.39 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/2.632, allocations: 223.6 kB / 385.6 MB, free: 52.14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/5.207, allocations: 1.344 kB / 385.6 MB, free: 52.14 MB / 318.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches