Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.001069, allocations: 199.9 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007627/0.0007628, allocations: 91.69 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3163/0.3163, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002652/0.0002653, allocations: 8 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3298, allocations: 63.09 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001575/0.3314, allocations: 1.399 MB / 0.5227 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001278/0.3315, allocations: 82.09 kB / 0.5228 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.3316, allocations: 2.812 kB / 0.5228 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.3316, allocations: 14.53 kB / 0.5228 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.3317, allocations: 18.17 kB / 0.5228 GB, free: 37.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.789e-05/0.3318, allocations: 18.09 kB / 0.5229 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.3319, allocations: 95.69 kB / 0.5229 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.3321, allocations: 52.78 kB / 0.523 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.659e-05/0.3321, allocations: 32.28 kB / 0.523 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.3322, allocations: 37.17 kB / 0.5231 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.3322, allocations: 5.625 kB / 0.5231 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.672e-05/0.3323, allocations: 5.031 kB / 0.5231 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.3323, allocations: 24.78 kB / 0.5231 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.3324, allocations: 75.86 kB / 0.5232 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.3325, allocations: 114.4 kB / 0.5233 GB, free: 37.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3325, allocations: 0 / 0.5233 GB, free: 37.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3325, allocations: 3.938 kB / 0.5233 GB, free: 37.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.3325, allocations: 0 / 0.5233 GB, free: 37.09 MB / 378.7 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.0004011/0.3329, allocations: 376.3 kB / 0.5236 GB, free: 36.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.333, allocations: 8.594 kB / 0.5236 GB, free: 36.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.333, allocations: 25.56 kB / 0.5237 GB, free: 36.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.3331, allocations: 179.2 kB / 0.5238 GB, free: 36.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3332, allocations: 6.328 kB / 0.5238 GB, free: 36.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3332, allocations: 10.06 kB / 0.5239 GB, free: 36.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.3334, allocations: 127.2 kB / 0.524 GB, free: 36.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3334, allocations: 192 / 0.524 GB, free: 36.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3334, allocations: 10.53 kB / 0.524 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3334, allocations: 2.875 kB / 0.524 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3336, allocations: 62.8 kB / 0.5241 GB, free: 36.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.3342, allocations: 0.7324 MB / 0.5248 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.449e-05/0.3343, allocations: 171.7 kB / 0.5249 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.3343, allocations: 80.14 kB / 0.525 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.3343, allocations: 75.28 kB / 0.5251 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3343, allocations: 120.2 kB / 0.5252 GB, free: 35.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.3344, allocations: 0 / 0.5252 GB, free: 35.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 5.97e-05/0.3344, allocations: 36.3 kB / 0.5252 GB, free: 35.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.3345, allocations: 126.7 kB / 0.5254 GB, free: 35.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.3346, allocations: 144 kB / 0.5255 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.3346, allocations: 25.7 kB / 0.5255 GB, free: 34.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.3346, allocations: 120 kB / 0.5256 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-06/0.3346, allocations: 0 / 0.5256 GB, free: 34.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.3346, allocations: 6.625 kB / 0.5256 GB, free: 34.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.3347, allocations: 322.2 kB / 0.5259 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.3347, allocations: 9.781 kB / 0.5259 GB, free: 34.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.3348, allocations: 42.06 kB / 0.526 GB, free: 34.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.3348, allocations: 55.59 kB / 0.526 GB, free: 34.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3348, allocations: 0 / 0.526 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000124/0.3349, allocations: 77.48 kB / 0.5261 GB, free: 34.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.335, allocations: 9.875 kB / 0.5261 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.335, allocations: 0 / 0.5261 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.335, allocations: 2.75 kB / 0.5261 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.3351, allocations: 7.969 kB / 0.5261 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3351, allocations: 6.688 kB / 0.5261 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.982e-05/0.3351, allocations: 10.62 kB / 0.5262 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.3351, allocations: 6.531 kB / 0.5262 GB, free: 34.3 MB / 378.7 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 7.207e-05/0.3352, allocations: 205.8 kB / 0.5264 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.3353, allocations: 115.6 kB / 0.5265 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.3353, allocations: 111.6 kB / 0.5266 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.3353, allocations: 186.5 kB / 0.5268 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-05/0.3354, allocations: 176.3 kB / 0.5269 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.774e-05/0.3354, allocations: 180.2 kB / 0.5271 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.3356, allocations: 439.1 kB / 0.5275 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.3356, allocations: 112.9 kB / 0.5276 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.3356, allocations: 103.7 kB / 0.5277 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.67e-05/0.3356, allocations: 176.3 kB / 0.5279 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.3357, allocations: 185.9 kB / 0.5281 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-05/0.3357, allocations: 176.3 kB / 0.5282 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-05/0.3357, allocations: 184.2 kB / 0.5284 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.258e-05/0.3358, allocations: 313.2 kB / 0.5287 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.3359, allocations: 188.9 kB / 0.5289 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.3359, allocations: 180.4 kB / 0.5291 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.324e-05/0.336, allocations: 115.2 kB / 0.5292 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.336, allocations: 180.3 kB / 0.5293 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.336, allocations: 101 kB / 0.5294 GB, free: 30.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.349e-05/0.3361, allocations: 115.3 kB / 0.5295 GB, free: 30.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3361, allocations: 0 / 0.5295 GB, free: 30.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00022/0.3363, allocations: 18.78 kB / 0.5296 GB, free: 30.7 MB / 378.7 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 9.484e-05/0.3364, allocations: 177.1 kB / 0.5297 GB, free: 30.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.315e-05/0.3365, allocations: 27.09 kB / 0.5298 GB, free: 30.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3365, allocations: 0 / 0.5298 GB, free: 30.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.3365, allocations: 0 / 0.5298 GB, free: 30.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3368, allocations: 0.5263 MB / 0.5303 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.3371, allocations: 287.4 kB / 0.5305 GB, free: 29.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3372, allocations: 0.6909 MB / 0.5312 GB, free: 29.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.148e-05/0.3372, allocations: 10.34 kB / 0.5312 GB, free: 29.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.3373, allocations: 10.44 kB / 0.5312 GB, free: 29.04 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3373, allocations: 0 / 0.5312 GB, free: 29.04 MB / 378.7 MB Notification: Performance of Templates: time 0.001921/0.3392, allocations: 380.2 kB / 0.5316 GB, free: 28.98 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches