Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008407/0.0008407, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003142/0.003142, allocations: 159.7 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8632/0.8632, allocations: 177 MB / 204.9 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.742e-05, allocations: 2.281 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004034/0.004061, allocations: 4.08 MB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.005983, allocations: 1.195 MB / 331.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.006321, allocations: 15.88 kB / 331.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.006702, allocations: 138.7 kB / 331.3 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.007094, allocations: 230 kB / 331.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.007546, allocations: 199.5 kB / 331.7 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006843/0.00823, allocations: 0.8014 MB / 332.5 MB, free: 8.668 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.008537, allocations: 179.1 kB / 332.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005311/0.009068, allocations: 446.9 kB / 333.1 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.009394, allocations: 239.2 kB / 333.3 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.242e-05/0.009466, allocations: 68 kB / 333.4 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.009569, allocations: 71.98 kB / 333.5 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.009659, allocations: 147.4 kB / 333.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.009831, allocations: 243.3 kB / 333.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005972/0.01043, allocations: 0.7748 MB / 334.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01043, allocations: 3.938 kB / 334.6 MB, free: 6.523 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01043, allocations: 4 kB / 334.6 MB, free: 6.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.01044, allocations: 0 / 334.6 MB, free: 6.52 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001166/0.01161, allocations: 0.9463 MB / 335.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.01164, allocations: 11.98 kB / 335.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.01185, allocations: 96.45 kB / 335.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.01226, allocations: 363.6 kB / 336 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.01229, allocations: 41.69 kB / 336.1 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.01234, allocations: 56.38 kB / 336.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.01337, allocations: 0.6803 MB / 336.8 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.01339, allocations: 4.172 kB / 336.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.01344, allocations: 31.88 kB / 336.8 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.01345, allocations: 12 kB / 336.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.01392, allocations: 401.1 kB / 337.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.01566, allocations: 1.491 MB / 338.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.01619, allocations: 355.6 kB / 339.1 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.01673, allocations: 409 kB / 339.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.01676, allocations: 4 kB / 339.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004162/0.01718, allocations: 0.4957 MB / 340 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.553e-06/0.01718, allocations: 0 / 340 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001659/0.01884, allocations: 0.9541 MB / 340.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.01892, allocations: 239.3 kB / 341.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.01925, allocations: 417.8 kB / 341.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.01927, allocations: 41.69 kB / 341.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.01942, allocations: 320.6 kB / 341.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.376e-05/0.01951, allocations: 158.7 kB / 342.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.0196, allocations: 90.3 kB / 342.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.0197, allocations: 358.8 kB / 342.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.01987, allocations: 137.2 kB / 342.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.0202, allocations: 489.7 kB / 343.1 MB, free: 13.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.02088, allocations: 416.4 kB / 343.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.02089, allocations: 4 kB / 343.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007903/0.02168, allocations: 0.6541 MB / 344.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.0217, allocations: 11.12 kB / 344.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.02171, allocations: 4 kB / 344.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005276/0.02223, allocations: 224.5 kB / 344.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.02241, allocations: 87.89 kB / 344.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.02491, allocations: 2.672 MB / 347.2 MB, free: 9.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.02517, allocations: 87.61 kB / 347.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.0252, allocations: 23.98 kB / 347.3 MB, free: 9.184 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,opAmp.satPos,opAmp.satNeg) * 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 (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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.02539, allocations: 177.7 kB / 347.5 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.02543, allocations: 47.72 kB / 347.5 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.765e-05/0.02549, allocations: 56.75 kB / 347.6 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.02549, allocations: 4 kB / 347.6 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.0255, allocations: 3.984 kB / 347.6 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.0255, allocations: 3.938 kB / 347.6 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.02663, allocations: 1.024 MB / 348.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.02663, allocations: 0 / 348.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.02675, allocations: 51.91 kB / 348.7 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004205/0.02717, allocations: 224.6 kB / 348.9 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.02719, allocations: 8 kB / 348.9 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.02971, allocations: 2.71 MB / 351.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02971, allocations: 0 / 351.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009029/0.03061, allocations: 0.8227 MB / 352.4 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.03067, allocations: 55.56 kB / 352.5 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.0307, allocations: 8 kB / 352.5 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.03087, allocations: 39.97 kB / 352.5 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.03096, allocations: 39.86 kB / 352.6 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.03098, allocations: 20.05 kB / 352.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002183/0.03119, allocations: 287.1 kB / 352.9 MB, free: 3.445 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03119, allocations: 0 / 352.9 MB, free: 3.445 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004765/0.03167, allocations: 191.7 kB / 353 MB, free: 3.258 MB / 314.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: 4 ($whenCondition1,rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001438/0.03182, allocations: 107.2 kB / 353.2 MB, free: 3.145 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007322/0.03255, allocations: 0.5466 MB / 353.7 MB, free: 2.586 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.03255, allocations: 3.938 kB / 353.7 MB, free: 2.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.03292, allocations: 387.4 kB / 354.1 MB, free: 2.191 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.03325, allocations: 77.69 kB / 354.2 MB, free: 2.113 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.03468, allocations: 1.05 MB / 355.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.03486, allocations: 275.7 kB / 355.5 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.03494, allocations: 32.5 kB / 355.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03494, allocations: 0 / 355.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of Templates: time 0.007773/0.04271, allocations: 8.717 MB / 364.2 MB, free: 8 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.588217183016241]