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.001015/0.001015, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 202.4 kB / 18.57 MB, free: 4.59 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.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2002/0.2002, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 71.67 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1054, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002626/0.108, allocations: 1.724 MB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001369/0.1082, allocations: 71.73 kB / 481.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.1082, allocations: 0 / 481.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.167e-05/0.1083, allocations: 19.84 kB / 481.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.1084, allocations: 19.8 kB / 482 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.429e-05/0.1085, allocations: 23.97 kB / 482 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.1086, allocations: 103.5 kB / 482.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1087, allocations: 63.94 kB / 482.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.1088, allocations: 39.86 kB / 482.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.1089, allocations: 43.84 kB / 482.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1089, allocations: 12 kB / 482.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.171e-05/0.1089, allocations: 12 kB / 482.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.1089, allocations: 23.92 kB / 482.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.109, allocations: 51.73 kB / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1091, allocations: 119.9 kB / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1091, allocations: 0 / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1091, allocations: 3.984 kB / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1091, allocations: 0 / 482.4 MB, free: 2.859 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.0004389/0.1096, allocations: 399.4 kB / 482.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1096, allocations: 8.031 kB / 482.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.1097, allocations: 46.75 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.1097, allocations: 16.77 kB / 482.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.548e-05/0.1098, allocations: 176.2 kB / 483.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1098, allocations: 8.609 kB / 483.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.1099, allocations: 12.38 kB / 483.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.11, allocations: 129.6 kB / 483.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1101, allocations: 7.938 kB / 483.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1101, allocations: 4 kB / 483.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1101, allocations: 4 kB / 483.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1102, allocations: 67.91 kB / 483.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007009/0.1109, allocations: 0.7195 MB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.962e-05/0.111, allocations: 169.1 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.111, allocations: 80.14 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1111, allocations: 75.28 kB / 484.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.1111, allocations: 113.8 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1111, allocations: 0 / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.594e-05/0.1112, allocations: 37.55 kB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1112, allocations: 126.7 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1114, allocations: 152.1 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.1114, allocations: 25.7 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.1115, allocations: 123.6 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.1115, allocations: 0 / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.1115, allocations: 21.72 kB / 484.9 MB, free: 132 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1116, allocations: 326.8 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.1116, allocations: 4 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.645e-05/0.1117, allocations: 41.14 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.129e-05/0.1117, allocations: 65.06 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1117, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001328/0.1119, allocations: 77.59 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1119, allocations: 11.94 kB / 485.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1119, allocations: 0 / 485.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1119, allocations: 4 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.112, allocations: 8 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.112, allocations: 3.984 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.1121, allocations: 15.78 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1121, allocations: 4 kB / 485.5 MB, free: 15.53 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 8.901e-05/0.1122, allocations: 197.1 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.1122, allocations: 109 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.1123, allocations: 108.9 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.374e-05/0.1123, allocations: 184.3 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.463e-05/0.1124, allocations: 184.3 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-05/0.1125, allocations: 184.2 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.1127, allocations: 441.2 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/0.1128, allocations: 108.9 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.1128, allocations: 104.9 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.083e-05/0.1129, allocations: 180.2 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.728e-05/0.1129, allocations: 180.2 kB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.406e-05/0.113, allocations: 184.3 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-05/0.113, allocations: 184.2 kB / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.1132, allocations: 311.7 kB / 488.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.571e-05/0.1132, allocations: 189.9 kB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.1133, allocations: 180.3 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.1134, allocations: 105 kB / 488.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.1135, allocations: 188.2 kB / 488.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.1135, allocations: 104.9 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.314e-05/0.1136, allocations: 109.3 kB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1136, allocations: 0 / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1138, allocations: 19.94 kB / 489 MB, free: 11.82 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.0003363/0.1142, allocations: 0.8086 MB / 489.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.528e-05/0.1143, allocations: 19.94 kB / 489.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1143, allocations: 0 / 489.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.1143, allocations: 0 / 489.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1146, allocations: 475.9 kB / 490.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1158, allocations: 1.588 MB / 491.8 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1161, allocations: 0.6962 MB / 492.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.35e-05/0.1161, allocations: 3.984 kB / 492.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.1162, allocations: 23.44 kB / 492.6 MB, free: 8.055 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1162, allocations: 0 / 492.6 MB, free: 8.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.1339, allocations: 1.569 MB / 494.1 MB, free: 6.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.988/7.122, allocations: 8.016 kB / 494.1 MB, free: 6.543 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