Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001915/0.001915, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002307/0.002307, allocations: 186 kB / 24.46 MB, free: 3.863 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.405/1.405, allocations: 225.7 MB / 253.3 MB, free: 12.85 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.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 44.08 kB / 371.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2283, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.00728/0.2355, allocations: 5.341 MB / 429.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003247/0.2388, allocations: 1.474 MB / 430.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006272/0.2394, allocations: 19.94 kB / 430.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.2399, allocations: 174.2 kB / 430.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007381/0.2406, allocations: 289.3 kB / 431.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/0.2416, allocations: 411.4 kB / 431.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.2432, allocations: 1.399 MB / 432.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.2437, allocations: 288.7 kB / 433.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007427/0.2445, allocations: 0.4985 MB / 433.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006463/0.2451, allocations: 0.4976 MB / 434.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.2453, allocations: 140 kB / 434.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.2457, allocations: 164 kB / 434.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.2459, allocations: 275.2 kB / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004879/0.2464, allocations: 493.9 kB / 435.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.248, allocations: 1.56 MB / 436.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.248, allocations: 0 / 436.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.248, allocations: 0 / 436.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.248, allocations: 0 / 436.8 MB, free: 1.441 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002881/0.2509, allocations: 1.338 MB / 438.1 MB, free: 72 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.251, allocations: 12.03 kB / 438.2 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.2512, allocations: 116.3 kB / 438.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009105/0.2521, allocations: 497.8 kB / 438.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-05/0.2522, allocations: 70.31 kB / 438.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.2523, allocations: 92.33 kB / 438.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.2542, allocations: 1.114 MB / 440 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.2542, allocations: 0 / 440 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/0.2543, allocations: 36 kB / 440.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.2543, allocations: 24 kB / 440.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.2561, allocations: 0.8394 MB / 440.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005702/0.2618, allocations: 2.772 MB / 443.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.263, allocations: 0.6333 MB / 444.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007389/0.2638, allocations: 399.2 kB / 444.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-05/0.2638, allocations: 8.656 kB / 444.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.2638, allocations: 39.22 kB / 444.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.715e-06/0.2639, allocations: 0 / 444.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004924/0.2688, allocations: 2.194 MB / 447 MB, free: 6.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.2688, allocations: 60.06 kB / 447 MB, free: 6.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007491/0.2696, allocations: 0.5536 MB / 447.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.202e-05/0.2697, allocations: 37.7 kB / 447.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.27, allocations: 464.2 kB / 448.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.2703, allocations: 265.7 kB / 448.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.2705, allocations: 146.6 kB / 448.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.2707, allocations: 382.8 kB / 448.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/0.2714, allocations: 325.9 kB / 449.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008105/0.2722, allocations: 472.5 kB / 449.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.2737, allocations: 0.8086 MB / 450.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.2737, allocations: 4 kB / 450.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002318/0.2761, allocations: 1.107 MB / 451.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.2761, allocations: 11.94 kB / 451.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2761, allocations: 4 kB / 451.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.2767, allocations: 187.3 kB / 451.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009348/0.2776, allocations: 195.8 kB / 451.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/0.2818, allocations: 2.723 MB / 454.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007606/0.2825, allocations: 36.03 kB / 454.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.2826, allocations: 32 kB / 454.7 MB, free: 14.98 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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 {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004274/0.2831, allocations: 237.6 kB / 455 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.2832, allocations: 83.48 kB / 455 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.2834, allocations: 94.52 kB / 455.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.2834, allocations: 8 kB / 455.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.2834, allocations: 4 kB / 455.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.2834, allocations: 3.984 kB / 455.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.2845, allocations: 0.6074 MB / 455.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2845, allocations: 0 / 455.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/0.2852, allocations: 143.8 kB / 455.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000584/0.2858, allocations: 184.8 kB / 456.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.2859, allocations: 19.98 kB / 456.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/0.29, allocations: 2.733 MB / 458.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.29, allocations: 4.109 kB / 458.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.293, allocations: 1.424 MB / 460.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.2931, allocations: 63.53 kB / 460.3 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.2933, allocations: 19.98 kB / 460.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006467/0.2939, allocations: 55.84 kB / 460.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.294, allocations: 60.53 kB / 460.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.2941, allocations: 27.98 kB / 460.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005003/0.2946, allocations: 374.8 kB / 460.8 MB, free: 8.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2946, allocations: 0 / 460.8 MB, free: 8.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008549/0.2955, allocations: 243.9 kB / 461.1 MB, free: 8.465 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * 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 (56): * Single equations (assignments): 55 * 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 {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002361/0.2957, allocations: 131.2 kB / 461.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002438/0.2981, allocations: 0.9976 MB / 462.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.2981, allocations: 0 / 462.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.2996, allocations: 0.6121 MB / 462.8 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.3004, allocations: 117.6 kB / 462.9 MB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.3041, allocations: 2.062 MB / 465 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.3046, allocations: 391 kB / 465.4 MB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/0.3049, allocations: 63.41 kB / 465.4 MB, free: 4.004 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3049, allocations: 0 / 465.4 MB, free: 4.004 MB / 366.1 MB Notification: Performance of Templates: time 0.02283/0.3277, allocations: 15.05 MB / 480.5 MB, free: 4.984 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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: 8.310644902288914]