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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 176.6 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008507/0.0008507, allocations: 105 kB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3827/0.3827, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4114, allocations: 61.9 MB / 0.5096 GB, free: 37.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.5285, allocations: 86.38 MB / 0.5939 GB, free: 8.746 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.5288, allocations: 67.97 kB / 0.594 GB, free: 8.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003763/0.5326, allocations: 1.539 MB / 0.5955 GB, free: 7.141 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5326, allocations: 0 / 0.5955 GB, free: 7.141 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.5327, allocations: 0 / 0.5955 GB, free: 7.141 MB / 410.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.0004557/0.5331, allocations: 383.2 kB / 0.5958 GB, free: 6.715 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.5332, allocations: 8.562 kB / 0.5959 GB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.5333, allocations: 7.906 kB / 0.5959 GB, free: 6.699 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.5334, allocations: 171 kB / 0.596 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.5334, allocations: 20.11 kB / 0.596 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.5335, allocations: 15.95 kB / 0.5961 GB, free: 6.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.5337, allocations: 133.7 kB / 0.5962 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5338, allocations: 0 / 0.5962 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.5338, allocations: 11.94 kB / 0.5962 GB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5338, allocations: 0 / 0.5962 GB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.5339, allocations: 55.98 kB / 0.5962 GB, free: 6.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008958/0.5348, allocations: 0.7296 MB / 0.597 GB, free: 5.453 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.5349, allocations: 181.1 kB / 0.5971 GB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.535, allocations: 75.28 kB / 0.5972 GB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.535, allocations: 109.8 kB / 0.5973 GB, free: 5.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.5351, allocations: 0 / 0.5973 GB, free: 5.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.469e-05/0.5351, allocations: 25.7 kB / 0.5973 GB, free: 5.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/0.5352, allocations: 134.6 kB / 0.5975 GB, free: 4.898 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.5354, allocations: 142.4 kB / 0.5976 GB, free: 4.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.5354, allocations: 29.7 kB / 0.5976 GB, free: 4.715 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.5355, allocations: 115.7 kB / 0.5977 GB, free: 4.598 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-06/0.5355, allocations: 4 kB / 0.5977 GB, free: 4.594 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.5355, allocations: 0 / 0.5977 GB, free: 4.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5357, allocations: 322.8 kB / 0.5981 GB, free: 4.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.5357, allocations: 4 kB / 0.5981 GB, free: 4.266 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.421e-05/0.5357, allocations: 49.14 kB / 0.5981 GB, free: 4.199 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.186e-05/0.5358, allocations: 8 kB / 0.5981 GB, free: 4.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5358, allocations: 4 kB / 0.5981 GB, free: 4.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000163/0.536, allocations: 77.62 kB / 0.5982 GB, free: 4.105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.536, allocations: 4 kB / 0.5982 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.536, allocations: 4 kB / 0.5982 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.536, allocations: 3.984 kB / 0.5982 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.5361, allocations: 11.94 kB / 0.5982 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.5361, allocations: 4 kB / 0.5982 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.367e-05/0.5362, allocations: 15.84 kB / 0.5982 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.5362, allocations: 0 / 0.5982 GB, free: 4.062 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.5363, allocations: 201.1 kB / 0.5984 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/0.5364, allocations: 109 kB / 0.5985 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.5365, allocations: 112.9 kB / 0.5986 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.48e-05/0.5366, allocations: 176.3 kB / 0.5988 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-05/0.5367, allocations: 188.2 kB / 0.599 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.27e-05/0.5368, allocations: 176.3 kB / 0.5991 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.5371, allocations: 445.5 kB / 0.5996 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-05/0.5371, allocations: 101 kB / 0.5997 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.5372, allocations: 112.9 kB / 0.5998 GB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.059e-05/0.5373, allocations: 184.2 kB / 0.6 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.761e-05/0.5374, allocations: 184.2 kB / 0.6001 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.266e-05/0.5375, allocations: 180.2 kB / 0.6003 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-05/0.5375, allocations: 180.3 kB / 0.6005 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.5377, allocations: 315.6 kB / 0.6008 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.621e-05/0.5378, allocations: 186 kB / 0.6009 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.5379, allocations: 184.2 kB / 0.6011 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.538, allocations: 114.4 kB / 0.6012 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.5381, allocations: 180.2 kB / 0.6014 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.5382, allocations: 105 kB / 0.6015 GB, free: 496 kB / 410.7 MB Notification: Performance of sorting global known variables: time 9.041e-05/0.5383, allocations: 109 kB / 0.6016 GB, free: 388 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5383, allocations: 0 / 0.6016 GB, free: 388 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.000285/0.5386, allocations: 19.94 kB / 0.6016 GB, free: 368 kB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001241/0.5387, allocations: 171.1 kB / 0.6018 GB, free: 188 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.106e-05/0.5388, allocations: 23.92 kB / 0.6018 GB, free: 164 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5388, allocations: 0 / 0.6018 GB, free: 164 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.5388, allocations: 0 / 0.6018 GB, free: 164 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.5391, allocations: 0.5224 MB / 0.6023 GB, free: 15.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.5396, allocations: 288.2 kB / 0.6026 GB, free: 15.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.5399, allocations: 0.6965 MB / 0.6033 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.525e-05/0.5399, allocations: 8 kB / 0.6033 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.5399, allocations: 7.438 kB / 0.6033 GB, free: 14.59 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5399, allocations: 0 / 0.6033 GB, free: 14.59 MB / 426.7 MB Notification: Performance of Templates: time 0.002302/0.5422, allocations: 372.5 kB / 0.6037 GB, free: 14.23 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches