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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 51.91 kB / 371.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2448, allocations: 52.19 MB / 423.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005861/0.2507, allocations: 4.022 MB / 427.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2531, allocations: 1.156 MB / 429 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.2534, allocations: 19.88 kB / 429.1 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.2538, allocations: 138.4 kB / 429.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004651/0.2543, allocations: 206.3 kB / 429.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.2547, allocations: 203.6 kB / 429.6 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008909/0.2556, allocations: 0.7552 MB / 430.3 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.256, allocations: 179.1 kB / 430.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004151/0.2565, allocations: 306.9 kB / 430.8 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.2569, allocations: 274.6 kB / 431.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.257, allocations: 64 kB / 431.2 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.2571, allocations: 64 kB / 431.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.2572, allocations: 155.4 kB / 431.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.2575, allocations: 282.6 kB / 431.6 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008252/0.2584, allocations: 0.7498 MB / 432.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2584, allocations: 0 / 432.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2584, allocations: 0 / 432.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.2584, allocations: 0 / 432.4 MB, free: 5.895 MB / 334.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.001876/0.2602, allocations: 0.9461 MB / 433.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2603, allocations: 12.03 kB / 433.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.2604, allocations: 76.47 kB / 433.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.261, allocations: 348.4 kB / 433.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.2611, allocations: 41.69 kB / 433.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.503e-05/0.2611, allocations: 56.33 kB / 433.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.2623, allocations: 0.729 MB / 434.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.2623, allocations: 0 / 434.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/0.2624, allocations: 27.92 kB / 434.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.2624, allocations: 16 kB / 434.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009256/0.2633, allocations: 417 kB / 435 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.2664, allocations: 1.537 MB / 436.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008018/0.2672, allocations: 352 kB / 436.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.2683, allocations: 413.2 kB / 437.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.2683, allocations: 4.328 kB / 437.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007052/0.269, allocations: 478.2 kB / 437.8 MB, free: 212 kB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.355e-06/0.269, allocations: 4 kB / 437.8 MB, free: 208 kB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.003671/0.2727, allocations: 1.098 MB / 438.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.2728, allocations: 247.3 kB / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.2734, allocations: 405.5 kB / 439.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.2734, allocations: 33.7 kB / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.2737, allocations: 324.6 kB / 439.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.2738, allocations: 146.7 kB / 440 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.274, allocations: 94.17 kB / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.2741, allocations: 354.7 kB / 440.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.2745, allocations: 156.9 kB / 440.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/0.2752, allocations: 0.493 MB / 441.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/0.276, allocations: 447.2 kB / 441.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.276, allocations: 0 / 441.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001825/0.2778, allocations: 0.7518 MB / 442.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.2778, allocations: 4 kB / 442.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.2779, allocations: 4 kB / 442.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/0.2785, allocations: 184.8 kB / 442.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.2789, allocations: 87.77 kB / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/0.2834, allocations: 2.629 MB / 445.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.284, allocations: 79.58 kB / 445.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.284, allocations: 24.06 kB / 445.3 MB, free: 8.32 MB / 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.000288/0.2843, allocations: 173.7 kB / 445.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.2844, allocations: 51.67 kB / 445.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.2845, allocations: 56.7 kB / 445.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2845, allocations: 4 kB / 445.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2845, allocations: 0 / 445.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2845, allocations: 3.938 kB / 445.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.2869, allocations: 1.086 MB / 446.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2869, allocations: 4 kB / 446.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.2871, allocations: 43.91 kB / 446.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005841/0.2877, allocations: 195.8 kB / 446.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.2877, allocations: 8 kB / 446.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004348/0.292, allocations: 2.612 MB / 449.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.292, allocations: 4.078 kB / 449.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.2942, allocations: 0.8909 MB / 450.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.2943, allocations: 67.61 kB / 450.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.819e-05/0.2944, allocations: 4 kB / 450.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.2947, allocations: 43.95 kB / 450.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/0.2948, allocations: 35.94 kB / 450.6 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.2948, allocations: 8 kB / 450.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003822/0.2952, allocations: 279.2 kB / 450.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2952, allocations: 4 kB / 450.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006899/0.2959, allocations: 183.6 kB / 451 MB, free: 2.406 MB / 350.1 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 (25): * Single equations (assignments): 23 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001655/0.2961, allocations: 111.2 kB / 451.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.2974, allocations: 0.561 MB / 451.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2974, allocations: 0 / 451.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007647/0.2982, allocations: 382.7 kB / 452.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.2987, allocations: 74.2 kB / 452.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.3006, allocations: 0.958 MB / 453.1 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3009, allocations: 259.4 kB / 453.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.301, allocations: 35.42 kB / 453.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.301, allocations: 4 kB / 453.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01307/0.3141, allocations: 8.397 MB / 461.8 MB, free: 7.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.783045785035938]