Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 117.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 71.7 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09645, allocations: 62.45 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002783/0.09926, allocations: 1.785 MB / 481.4 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001661/0.09945, allocations: 75.66 kB / 481.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.09952, allocations: 4 kB / 481.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.662e-05/0.09959, allocations: 11.91 kB / 481.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.124e-05/0.09967, allocations: 19.84 kB / 481.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.823e-05/0.09977, allocations: 23.98 kB / 481.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.09989, allocations: 95.59 kB / 481.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1, allocations: 59.95 kB / 481.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/0.1001, allocations: 39.86 kB / 481.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.685e-05/0.1002, allocations: 47.84 kB / 481.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1002, allocations: 12 kB / 481.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.1002, allocations: 12 kB / 481.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.1003, allocations: 19.92 kB / 481.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.1003, allocations: 51.73 kB / 481.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1005, allocations: 123.8 kB / 482 MB, free: 3.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1005, allocations: 0 / 482 MB, free: 3.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1005, allocations: 0 / 482 MB, free: 3.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1005, allocations: 0 / 482 MB, free: 3.145 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004434/0.1009, allocations: 403.4 kB / 482.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.101, allocations: 8.031 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.101, allocations: 50.67 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.1011, allocations: 12.84 kB / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1012, allocations: 164.3 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1012, allocations: 12.61 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.1013, allocations: 8.375 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.1015, allocations: 139.4 kB / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1015, allocations: 3.938 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1015, allocations: 8 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1015, allocations: 4 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1017, allocations: 59.97 kB / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.1024, allocations: 0.7234 MB / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.138e-05/0.1025, allocations: 169.1 kB / 483.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.1025, allocations: 84.14 kB / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1026, allocations: 83.28 kB / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.1026, allocations: 105.8 kB / 484 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1026, allocations: 3.938 kB / 484 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.764e-05/0.1027, allocations: 37.59 kB / 484 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.1028, allocations: 126.7 kB / 484.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1029, allocations: 148.4 kB / 484.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.1029, allocations: 29.7 kB / 484.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.103, allocations: 123.6 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.103, allocations: 3.938 kB / 484.4 MB, free: 444 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.103, allocations: 21.7 kB / 484.5 MB, free: 416 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1032, allocations: 322.8 kB / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.1032, allocations: 4 kB / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-05/0.1032, allocations: 45.14 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.924e-05/0.1033, allocations: 57.11 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1033, allocations: 0 / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000146/0.1035, allocations: 81.47 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1035, allocations: 4 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1035, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1035, allocations: 4 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.1036, allocations: 15.92 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1036, allocations: 4 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.1037, allocations: 11.78 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1037, allocations: 4 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 9.889e-05/0.1038, allocations: 197.3 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.1039, allocations: 112.9 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.1039, allocations: 112.8 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.19e-05/0.104, allocations: 180.3 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-05/0.1041, allocations: 184.2 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.343e-05/0.1041, allocations: 188.3 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.1044, allocations: 441.1 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.086e-05/0.1044, allocations: 105 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.1045, allocations: 101 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.271e-05/0.1045, allocations: 180.2 kB / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.1046, allocations: 184.3 kB / 486.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-05/0.1047, allocations: 184.2 kB / 487.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.105e-05/0.1048, allocations: 176.3 kB / 487.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.1049, allocations: 319.6 kB / 487.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/0.105, allocations: 182 kB / 487.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/0.1051, allocations: 188.2 kB / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1052, allocations: 105 kB / 488.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.1052, allocations: 176.3 kB / 488.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.1053, allocations: 112.9 kB / 488.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.322e-05/0.1054, allocations: 117.8 kB / 488.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1054, allocations: 0 / 488.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1056, allocations: 19.88 kB / 488.5 MB, free: 12.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0003678/0.106, allocations: 0.8048 MB / 489.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.154e-05/0.1061, allocations: 23.92 kB / 489.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1061, allocations: 384 / 489.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.1061, allocations: 7.938 kB / 489.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1065, allocations: 463.6 kB / 489.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.1078, allocations: 1.608 MB / 491.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.108, allocations: 0.7001 MB / 492.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.201e-05/0.108, allocations: 0 / 492.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.1081, allocations: 27.42 kB / 492.1 MB, free: 8.309 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1081, allocations: 4 kB / 492.1 MB, free: 8.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.1191, allocations: 1.492 MB / 493.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.1193, allocations: 193.7 kB / 493.8 MB, free: 6.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/1.841, allocations: 0 / 493.8 MB, free: 6.672 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches