Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",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.001149/0.001149, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001243/0.001244, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2427/0.2427, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.89 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4912, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003852/0.4951, allocations: 1.702 MB / 0.5201 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002431/0.4954, allocations: 79.64 kB / 0.5201 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.4954, allocations: 6.375 kB / 0.5201 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.741e-05/0.4955, allocations: 15.52 kB / 0.5202 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.4957, allocations: 22.39 kB / 0.5202 GB, free: 2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.4958, allocations: 21.52 kB / 0.5202 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.496, allocations: 106.1 kB / 0.5203 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.4962, allocations: 54.66 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.4963, allocations: 44.05 kB / 0.5204 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.4964, allocations: 40.11 kB / 0.5204 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.4965, allocations: 10.19 kB / 0.5204 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.534e-05/0.4965, allocations: 15.5 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.4966, allocations: 22.11 kB / 0.5205 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.611e-05/0.4967, allocations: 63.69 kB / 0.5205 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.4969, allocations: 121.2 kB / 0.5207 GB, free: 1.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.4969, allocations: 3.938 kB / 0.5207 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.5e-06/0.497, allocations: 0.6562 kB / 0.5207 GB, free: 1.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.497, allocations: 0 / 0.5207 GB, free: 1.754 MB / 382.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.0005712/0.4976, allocations: 390.7 kB / 0.521 GB, free: 1.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.4976, allocations: 10.09 kB / 0.521 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.4977, allocations: 44.5 kB / 0.5211 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.4977, allocations: 15.86 kB / 0.5211 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.4979, allocations: 180.7 kB / 0.5213 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.4979, allocations: 8.141 kB / 0.5213 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.4979, allocations: 12.88 kB / 0.5213 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.4982, allocations: 125.6 kB / 0.5214 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4982, allocations: 4.594 kB / 0.5214 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.4983, allocations: 6.344 kB / 0.5214 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.4983, allocations: 1.969 kB / 0.5214 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.4984, allocations: 64.28 kB / 0.5215 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.4992, allocations: 0.7287 MB / 0.5222 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.4993, allocations: 166.5 kB / 0.5224 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.4993, allocations: 84.66 kB / 0.5224 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.4994, allocations: 75.28 kB / 0.5225 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/0.4994, allocations: 111.8 kB / 0.5226 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.4994, allocations: 0 / 0.5226 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.172e-05/0.4995, allocations: 38.19 kB / 0.5227 GB, free: 15.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.4996, allocations: 127.4 kB / 0.5228 GB, free: 15.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.4998, allocations: 147.3 kB / 0.5229 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.4998, allocations: 25.7 kB / 0.5229 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.4999, allocations: 128.2 kB / 0.5231 GB, free: 15.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.4999, allocations: 0.75 kB / 0.5231 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.5, allocations: 18.78 kB / 0.5231 GB, free: 15.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5001, allocations: 323.3 kB / 0.5234 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.5001, allocations: 8 kB / 0.5234 GB, free: 15.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.5002, allocations: 45.52 kB / 0.5234 GB, free: 15.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.872e-05/0.5002, allocations: 52.73 kB / 0.5235 GB, free: 14.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5003, allocations: 5.125 kB / 0.5235 GB, free: 14.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001683/0.5004, allocations: 74.42 kB / 0.5236 GB, free: 14.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.5005, allocations: 6.031 kB / 0.5236 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.5005, allocations: 2.281 kB / 0.5236 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5005, allocations: 6.031 kB / 0.5236 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.5006, allocations: 14.28 kB / 0.5236 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.5006, allocations: 6.031 kB / 0.5236 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.5007, allocations: 11.88 kB / 0.5236 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.5007, allocations: 6.688 kB / 0.5236 GB, free: 14.89 MB / 398.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 0.0001477/0.5008, allocations: 199.2 kB / 0.5238 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.5009, allocations: 109.1 kB / 0.5239 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.755e-05/0.501, allocations: 117 kB / 0.524 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.635e-05/0.5011, allocations: 182 kB / 0.5242 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/0.5012, allocations: 182.1 kB / 0.5244 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001027/0.5013, allocations: 190.2 kB / 0.5246 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.5017, allocations: 433.2 kB / 0.525 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.866e-05/0.5018, allocations: 105.5 kB / 0.5251 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.5019, allocations: 106.7 kB / 0.5252 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.502, allocations: 178.5 kB / 0.5253 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.5021, allocations: 189.9 kB / 0.5255 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001137/0.5022, allocations: 178.2 kB / 0.5257 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001089/0.5023, allocations: 178.1 kB / 0.5259 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.5025, allocations: 315.3 kB / 0.5262 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.5027, allocations: 193.8 kB / 0.5263 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.5028, allocations: 182.7 kB / 0.5265 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.5029, allocations: 103.2 kB / 0.5266 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.503, allocations: 182 kB / 0.5268 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-05/0.5031, allocations: 110 kB / 0.5269 GB, free: 11.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.5032, allocations: 114.1 kB / 0.527 GB, free: 11.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5032, allocations: 4 kB / 0.527 GB, free: 11.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.5035, allocations: 13.75 kB / 0.527 GB, free: 11.29 MB / 398.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.0003865/0.5039, allocations: 0.8103 MB / 0.5278 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.031e-05/0.504, allocations: 25.36 kB / 0.5278 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.504, allocations: 0 / 0.5278 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.504, allocations: 1.094 kB / 0.5278 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.5044, allocations: 458.4 kB / 0.5283 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.5059, allocations: 1.589 MB / 0.5298 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.5064, allocations: 0.6991 MB / 0.5305 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.874e-05/0.5064, allocations: 5.328 kB / 0.5305 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.5065, allocations: 27.72 kB / 0.5305 GB, free: 7.789 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5065, allocations: 0 / 0.5305 GB, free: 7.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.525, allocations: 1.607 MB / 0.5321 GB, free: 7.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.295/7.82, allocations: 9.156 kB / 0.5321 GB, free: 7.391 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches