Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.393/1.393, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.83 kB / 378.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2264, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005855/0.2323, allocations: 4.533 MB / 436.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.2343, allocations: 1.289 MB / 437.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.2346, allocations: 15.94 kB / 437.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.235, allocations: 138.8 kB / 438.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.2354, allocations: 210.2 kB / 438.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.2358, allocations: 219.6 kB / 438.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008096/0.2366, allocations: 0.763 MB / 439.3 MB, free: 184 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003584/0.237, allocations: 194.6 kB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/0.2374, allocations: 290.9 kB / 439.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004354/0.2378, allocations: 330.5 kB / 440.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.123e-05/0.2379, allocations: 68 kB / 440.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.238, allocations: 64 kB / 440.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.2382, allocations: 159.4 kB / 440.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.2385, allocations: 346.2 kB / 440.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000837/0.2393, allocations: 0.7561 MB / 441.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2393, allocations: 0 / 441.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2393, allocations: 0 / 441.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2393, allocations: 3.938 kB / 441.4 MB, free: 13.98 MB / 350.1 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.001802/0.2411, allocations: 1.025 MB / 442.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2412, allocations: 12.03 kB / 442.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.2415, allocations: 100.4 kB / 442.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.2421, allocations: 430.1 kB / 443 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.2421, allocations: 37.69 kB / 443 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/0.2422, allocations: 56.38 kB / 443.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.2432, allocations: 0.5495 MB / 443.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2432, allocations: 0 / 443.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.2433, allocations: 24 kB / 443.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2433, allocations: 23.94 kB / 443.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000913/0.2442, allocations: 417 kB / 444.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.2472, allocations: 1.825 MB / 445.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/0.2481, allocations: 0.4943 MB / 446.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.2491, allocations: 421.1 kB / 446.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.2492, allocations: 4.328 kB / 446.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005512/0.2497, allocations: 298.2 kB / 447.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.653e-06/0.2497, allocations: 0 / 447.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003682/0.2534, allocations: 1.189 MB / 448.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.2536, allocations: 243.3 kB / 448.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.2541, allocations: 434 kB / 449 MB, free: 6.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.2541, allocations: 29.7 kB / 449 MB, free: 6.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.2544, allocations: 324.7 kB / 449.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.2545, allocations: 146.7 kB / 449.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.2547, allocations: 94.23 kB / 449.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2548, allocations: 362.7 kB / 449.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.2552, allocations: 149 kB / 450 MB, free: 4.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.2557, allocations: 325.5 kB / 450.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008025/0.2565, allocations: 439.4 kB / 450.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2565, allocations: 0 / 450.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001813/0.2583, allocations: 0.7522 MB / 451.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2583, allocations: 4 kB / 451.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2583, allocations: 7.984 kB / 451.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006371/0.259, allocations: 187.7 kB / 451.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.2593, allocations: 79.91 kB / 451.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/0.2637, allocations: 2.799 MB / 454.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.2642, allocations: 91.62 kB / 454.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.2642, allocations: 20 kB / 454.7 MB, free: 28 kB / 350.1 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 (46): * Single equations (assignments): 45 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002536/0.2644, allocations: 190.1 kB / 454.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.2645, allocations: 47.72 kB / 455 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.2646, allocations: 52.97 kB / 455 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.2646, allocations: 11.92 kB / 455 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2646, allocations: 0 / 455 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.2648, allocations: 132.7 kB / 455.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.2648, allocations: 8 kB / 455.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.2652, allocations: 39.97 kB / 455.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.2653, allocations: 43.92 kB / 455.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001738/0.267, allocations: 0.6427 MB / 455.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001174/0.2682, allocations: 0.7108 MB / 456.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003047/0.2685, allocations: 136.4 kB / 456.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003476/0.2688, allocations: 307.1 kB / 457 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Backend: time 8.32e-07/0.2688, allocations: 0 / 457 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.2701, allocations: 0.5202 MB / 457.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 0.001769/0.2719, allocations: 1.466 MB / 459 MB, free: 11.62 MB / 366.1 MB Notification: Performance of Templates: time 0.01445/0.2864, allocations: 7.688 MB / 466.7 MB, free: 4.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.304396766237915]