Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001704/0.001704, 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.001992/0.001992, allocations: 187.3 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.415/1.415, allocations: 225.7 MB / 253.3 MB, free: 12.81 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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 47.92 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.247, allocations: 52.18 MB / 423.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004568/0.2515, allocations: 2.955 MB / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.2532, allocations: 0.9001 MB / 427.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.2534, allocations: 7.938 kB / 427.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.2536, allocations: 55.42 kB / 427.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.2539, allocations: 138.5 kB / 427.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.2543, allocations: 143.6 kB / 428 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.2548, allocations: 486 kB / 428.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.255, allocations: 90.59 kB / 428.6 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.2553, allocations: 195.3 kB / 428.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.2555, allocations: 183.1 kB / 429 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.519e-05/0.2556, allocations: 40 kB / 429 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.2558, allocations: 75.97 kB / 429.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.665e-05/0.2559, allocations: 83.69 kB / 429.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.2561, allocations: 187.1 kB / 429.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.2566, allocations: 0.4939 MB / 429.8 MB, free: 8.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2567, allocations: 0 / 429.8 MB, free: 8.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2567, allocations: 0 / 429.8 MB, free: 8.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2567, allocations: 0 / 429.8 MB, free: 8.422 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001391/0.2581, allocations: 0.6684 MB / 430.5 MB, free: 7.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2581, allocations: 12.03 kB / 430.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.563e-05/0.2582, allocations: 44.66 kB / 430.5 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.2586, allocations: 253.3 kB / 430.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.2587, allocations: 25.03 kB / 430.8 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.2587, allocations: 32.38 kB / 430.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007462/0.2595, allocations: 448.2 kB / 431.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2595, allocations: 4 kB / 431.3 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.2595, allocations: 12 kB / 431.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2595, allocations: 8 kB / 431.3 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005112/0.26, allocations: 234.5 kB / 431.5 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.2619, allocations: 0.9804 MB / 432.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.2626, allocations: 247.5 kB / 432.8 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.2631, allocations: 189.2 kB / 432.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/0.2634, allocations: 64.16 kB / 433 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.2634, allocations: 42.78 kB / 433.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.2634, allocations: 0 / 433.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001339/0.2648, allocations: 438.5 kB / 433.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.2648, allocations: 85.09 kB / 433.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.2652, allocations: 296.5 kB / 433.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.2652, allocations: 33.7 kB / 433.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.2654, allocations: 224.4 kB / 434.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.644e-05/0.2655, allocations: 103.1 kB / 434.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.2656, allocations: 74 kB / 434.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2658, allocations: 350.7 kB / 434.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.266, allocations: 100.7 kB / 434.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.2663, allocations: 203.5 kB / 434.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.2669, allocations: 288.3 kB / 435.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2669, allocations: 0 / 435.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008189/0.2677, allocations: 413.6 kB / 435.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.2677, allocations: 8 kB / 435.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2677, allocations: 0 / 435.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002735/0.268, allocations: 73 kB / 435.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.2683, allocations: 75.91 kB / 435.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.2703, allocations: 1.802 MB / 437.6 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.2705, allocations: 39.75 kB / 437.6 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.2706, allocations: 16 kB / 437.6 MB, free: 236 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.2707, allocations: 149.7 kB / 437.8 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.2708, allocations: 31.75 kB / 437.8 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007499/0.2716, allocations: 325.8 kB / 438.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2716, allocations: 0 / 438.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2716, allocations: 7.938 kB / 438.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2716, allocations: 0 / 438.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.272, allocations: 281 kB / 438.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.272, allocations: 0 / 438.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.2723, allocations: 47.97 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.2725, allocations: 64.81 kB / 438.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.2725, allocations: 4 kB / 438.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004759/0.273, allocations: 0.6108 MB / 439.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.273, allocations: 0 / 439.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.2739, allocations: 0.4975 MB / 439.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-05/0.274, allocations: 39.67 kB / 439.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.274, allocations: 8.062 kB / 439.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.2743, allocations: 23.98 kB / 439.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.2743, allocations: 15.97 kB / 439.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.2744, allocations: 8 kB / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002206/0.2746, allocations: 211.1 kB / 439.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2746, allocations: 0 / 439.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004635/0.275, allocations: 115.7 kB / 440 MB, free: 13.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002017/0.2752, allocations: 131.1 kB / 440.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008775/0.2761, allocations: 394.1 kB / 440.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2761, allocations: 0 / 440.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.2765, allocations: 124.8 kB / 440.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.2769, allocations: 40.58 kB / 440.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.2784, allocations: 0.8843 MB / 441.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.2786, allocations: 190.4 kB / 441.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.826e-05/0.2786, allocations: 27.44 kB / 441.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2786, allocations: 0 / 441.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Templates: time 0.008591/0.2872, allocations: 5.435 MB / 447.2 MB, free: 6.43 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.58976702997461]