Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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) 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(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 181.2 kB / 16.39 MB, free: 5.766 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.34/1.34, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.0008349/0.0008349, allocations: 89.53 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003953, allocations: 4 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.288, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.3904, allocations: 82.83 MB / 484.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.3907, allocations: 87.36 kB / 484.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02455/0.4152, allocations: 9.841 MB / 494.3 MB, free: 3.664 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4153, allocations: 0 / 494.3 MB, free: 3.664 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.4153, allocations: 12 kB / 494.3 MB, free: 3.652 MB / 362.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.001363/0.4167, allocations: 0.8585 MB / 495.1 MB, free: 2.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4167, allocations: 11.97 kB / 495.1 MB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.4168, allocations: 67.25 kB / 495.2 MB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.4174, allocations: 398.2 kB / 495.6 MB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.4174, allocations: 38 kB / 495.6 MB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.4175, allocations: 60 kB / 495.7 MB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009066/0.4184, allocations: 0.5495 MB / 496.2 MB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.4184, allocations: 0 / 496.2 MB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.4185, allocations: 24 kB / 496.3 MB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.4185, allocations: 12 kB / 496.3 MB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007943/0.4193, allocations: 437 kB / 496.7 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.4221, allocations: 1.852 MB / 498.6 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.4229, allocations: 0.5448 MB / 499.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.4229, allocations: 4.328 kB / 499.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004886/0.4234, allocations: 290.2 kB / 499.4 MB, free: 14.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 2.384e-06/0.4234, allocations: 0 / 499.4 MB, free: 14.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.003108/0.4265, allocations: 1.154 MB / 0.4888 GB, free: 13.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.4267, allocations: 235.3 kB / 0.489 GB, free: 12.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.4271, allocations: 385 kB / 0.4894 GB, free: 12.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.4272, allocations: 37.64 kB / 0.4894 GB, free: 12.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.4274, allocations: 312.1 kB / 0.4897 GB, free: 12.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4275, allocations: 141.9 kB / 0.4899 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.4275, allocations: 11.94 kB / 0.4899 GB, free: 11.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4276, allocations: 354.8 kB / 0.4902 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.4279, allocations: 153 kB / 0.4904 GB, free: 11.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.4284, allocations: 317.6 kB / 0.4907 GB, free: 11.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.4287, allocations: 192.2 kB / 0.4909 GB, free: 10.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4287, allocations: 4 kB / 0.4909 GB, free: 10.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001542/0.4303, allocations: 0.7408 MB / 0.4916 GB, free: 10.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.4303, allocations: 8 kB / 0.4916 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4303, allocations: 3.984 kB / 0.4916 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005624/0.4309, allocations: 164.4 kB / 0.4917 GB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.4313, allocations: 91.83 kB / 0.4918 GB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003965/0.4352, allocations: 2.565 MB / 0.4943 GB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.4357, allocations: 83.56 kB / 0.4944 GB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.4358, allocations: 20 kB / 0.4944 GB, free: 7.016 MB / 378.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,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002599/0.436, allocations: 185.7 kB / 0.4946 GB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.4361, allocations: 47.44 kB / 0.4947 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.528e-05/0.4362, allocations: 56.86 kB / 0.4947 GB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4362, allocations: 4 kB / 0.4947 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4362, allocations: 0 / 0.4947 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4362, allocations: 0 / 0.4947 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.4383, allocations: 1.242 MB / 0.4959 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4384, allocations: 4 kB / 0.4959 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.4386, allocations: 55.91 kB / 0.496 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.4391, allocations: 160.7 kB / 0.4961 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.4391, allocations: 4 kB / 0.4961 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003627/0.4427, allocations: 2.539 MB / 0.4986 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4427, allocations: 0 / 0.4986 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.4445, allocations: 0.8978 MB / 0.4995 GB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.4446, allocations: 124.5 kB / 0.4996 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.4447, allocations: 15.94 kB / 0.4996 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.445, allocations: 48.12 kB / 0.4997 GB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.4451, allocations: 39.66 kB / 0.4997 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.4452, allocations: 16 kB / 0.4997 GB, free: 1.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003182/0.4455, allocations: 295.1 kB / 0.5 GB, free: 1.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4455, allocations: 3.938 kB / 0.5 GB, free: 1.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006942/0.4462, allocations: 187.5 kB / 0.5002 GB, free: 0.8828 MB / 378.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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002157/0.4464, allocations: 127.2 kB / 0.5003 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.4478, allocations: 0.6508 MB / 0.501 GB, free: 88 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4478, allocations: 4.25 kB / 0.501 GB, free: 84 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1838/0.6316, allocations: 448 kB / 0.5014 GB, free: 97.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.6324, allocations: 69.95 kB / 0.5015 GB, free: 97.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.6345, allocations: 1.105 MB / 0.5025 GB, free: 97.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.635, allocations: 0.8721 MB / 0.5034 GB, free: 96.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002565/0.6352, allocations: 51.86 kB / 0.5034 GB, free: 96.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.6353, allocations: 30.66 kB / 0.5035 GB, free: 96.65 MB / 378.7 MB Notification: Performance of SimCode: time 1.582e-06/0.6353, allocations: 3.312 kB / 0.5035 GB, free: 96.65 MB / 378.7 MB Notification: Performance of Templates: time 0.01143/0.6468, allocations: 6.216 MB / 0.5095 GB, free: 96.46 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches