Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007779/0.0007779, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.001969, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007093/0.0007093, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008817/0.001591, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9747/0.9747, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08565/1.06, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 244.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.818e-05, allocations: 2.312 kB / 244.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003883/0.003901, allocations: 4.432 MB / 249.2 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.005783, allocations: 1.319 MB / 250.5 MB, free: 8.395 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.006036, allocations: 11.94 kB / 250.5 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.006318, allocations: 146.6 kB / 250.7 MB, free: 8.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.006607, allocations: 218.1 kB / 250.9 MB, free: 8.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.007022, allocations: 223.5 kB / 251.1 MB, free: 7.805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007645/0.007786, allocations: 0.7899 MB / 251.9 MB, free: 7.012 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.008068, allocations: 185 kB / 252.1 MB, free: 6.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005325/0.0086, allocations: 0.4961 MB / 252.6 MB, free: 6.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.008905, allocations: 259.2 kB / 252.8 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.595e-05/0.008971, allocations: 64 kB / 252.9 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.009085, allocations: 72 kB / 253 MB, free: 5.945 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.315e-05/0.009158, allocations: 107.6 kB / 253.1 MB, free: 5.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.009312, allocations: 195.6 kB / 253.2 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.00977, allocations: 466.2 kB / 253.7 MB, free: 5.191 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.009783, allocations: 0 / 253.7 MB, free: 5.191 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009784, allocations: 0 / 253.7 MB, free: 5.191 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.009799, allocations: 0 / 253.7 MB, free: 5.191 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001122/0.01092, allocations: 1.002 MB / 254.7 MB, free: 4.164 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.01095, allocations: 8.031 kB / 254.7 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.01118, allocations: 190 kB / 254.9 MB, free: 3.953 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.01154, allocations: 287.7 kB / 255.2 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.01157, allocations: 49.62 kB / 255.2 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.01162, allocations: 56.38 kB / 255.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.01208, allocations: 0.5935 MB / 255.9 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.0121, allocations: 4.172 kB / 255.9 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.01213, allocations: 31.94 kB / 255.9 MB, free: 2.852 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01214, allocations: 12 kB / 255.9 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.01231, allocations: 137.1 kB / 256.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.01381, allocations: 1.242 MB / 257.3 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.01412, allocations: 247.4 kB / 257.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.01454, allocations: 341.8 kB / 257.9 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.01457, allocations: 8.328 kB / 257.9 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.01483, allocations: 394.1 kB / 258.3 MB, free: 360 kB / 250.7 MB Notification: Performance of pre-optimization done (n=41): time 1.744e-06/0.01483, allocations: 0 / 258.3 MB, free: 360 kB / 250.7 MB Notification: Performance of matching and sorting (n=41): time 0.001358/0.01619, allocations: 0.8091 MB / 259.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.01622, allocations: 55.41 kB / 259.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.01647, allocations: 371.2 kB / 259.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.0165, allocations: 33.7 kB / 259.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.01662, allocations: 285.6 kB / 259.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.01669, allocations: 150.8 kB / 260 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.01678, allocations: 94.09 kB / 260 MB, free: 14.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.01688, allocations: 354.7 kB / 260.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.01694, allocations: 52.97 kB / 260.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.01714, allocations: 404.9 kB / 260.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.01737, allocations: 276.5 kB / 261.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01737, allocations: 0 / 261.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005343/0.01791, allocations: 464.9 kB / 261.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01793, allocations: 8.281 kB / 261.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01793, allocations: 4 kB / 261.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/0.01845, allocations: 258.3 kB / 261.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.01861, allocations: 83.84 kB / 261.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.02041, allocations: 2.14 MB / 264 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.02062, allocations: 71.64 kB / 264.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.02064, allocations: 16 kB / 264.1 MB, free: 10.17 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.02075, allocations: 144.6 kB / 264.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.0208, allocations: 43.89 kB / 264.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.02085, allocations: 60.83 kB / 264.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.02086, allocations: 4 kB / 264.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.02086, allocations: 4 kB / 264.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.02086, allocations: 0 / 264.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007773/0.02164, allocations: 0.6925 MB / 265.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02164, allocations: 0 / 265.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.182e-05/0.02174, allocations: 35.98 kB / 265.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.02178, allocations: 47.61 kB / 265.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/0.02222, allocations: 251.4 kB / 265.4 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.02224, allocations: 15.92 kB / 265.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.02374, allocations: 2.044 MB / 267.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02374, allocations: 4 kB / 267.5 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005308/0.02427, allocations: 0.528 MB / 268 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.02431, allocations: 12 kB / 268 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.02445, allocations: 40 kB / 268 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.02452, allocations: 39.72 kB / 268.1 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.02454, allocations: 7.984 kB / 268.1 MB, free: 6.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.02465, allocations: 148.7 kB / 268.2 MB, free: 5.922 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02465, allocations: 0 / 268.2 MB, free: 5.922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004065/0.02505, allocations: 191.6 kB / 268.4 MB, free: 5.734 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001105/0.02516, allocations: 96.41 kB / 268.5 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005582/0.02572, allocations: 485.9 kB / 269 MB, free: 5.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.919e-05/0.02574, allocations: 11.94 kB / 269 MB, free: 5.133 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.02608, allocations: 370.8 kB / 269.4 MB, free: 4.754 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.02654, allocations: 0.6185 MB / 270 MB, free: 4.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.0301, allocations: 0.894 MB / 270.9 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.512e-05/0.03019, allocations: 129.8 kB / 271 MB, free: 2.953 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.03032, allocations: 48.25 kB / 271.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.03051, allocations: 143.3 kB / 271.2 MB, free: 2.762 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.03051, allocations: 0 / 271.2 MB, free: 2.762 MB / 266.7 MB Notification: Performance of Templates: time 0.01077/0.04127, allocations: 7.974 MB / 279.2 MB, free: 10.89 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6389056462794542]