Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.243, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007096/0.2501, allocations: 5.351 MB / 437.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.2532, allocations: 1.517 MB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004734/0.2536, allocations: 23.88 kB / 439.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.254, allocations: 170.3 kB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006675/0.2547, allocations: 297.2 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008366/0.2555, allocations: 411.4 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.257, allocations: 1.399 MB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.2575, allocations: 301.4 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007038/0.2582, allocations: 0.5101 MB / 442.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.2589, allocations: 0.5641 MB / 442.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.2591, allocations: 136 kB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.2594, allocations: 184 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.2597, allocations: 275.1 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004985/0.2602, allocations: 493.9 kB / 443.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.2618, allocations: 1.564 MB / 445.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2618, allocations: 0 / 445.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2618, allocations: 0 / 445.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.2619, allocations: 0 / 445.5 MB, free: 9.496 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002954/0.2648, allocations: 1.33 MB / 446.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2649, allocations: 12.03 kB / 446.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/0.2652, allocations: 128.2 kB / 447 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/0.2662, allocations: 0.5017 MB / 447.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.2662, allocations: 66.38 kB / 447.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.2664, allocations: 84.38 kB / 447.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.2683, allocations: 1.106 MB / 448.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.2683, allocations: 7.875 kB / 448.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.645e-05/0.2684, allocations: 40 kB / 448.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.2684, allocations: 24 kB / 448.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.2701, allocations: 0.8472 MB / 449.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/0.2758, allocations: 2.768 MB / 452.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.277, allocations: 0.6146 MB / 453 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/0.2777, allocations: 395.2 kB / 453.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.628e-05/0.2778, allocations: 16.64 kB / 453.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.2778, allocations: 47.16 kB / 453.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 3.456e-06/0.2778, allocations: 0 / 453.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004821/0.2826, allocations: 2.19 MB / 455.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.2827, allocations: 67.94 kB / 455.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.2834, allocations: 0.5498 MB / 456.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.207e-05/0.2835, allocations: 41.7 kB / 456.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.2839, allocations: 444.3 kB / 456.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.2841, allocations: 273.7 kB / 457 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.2844, allocations: 154.6 kB / 457.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.2846, allocations: 378.8 kB / 457.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006734/0.2853, allocations: 325.9 kB / 457.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007768/0.2861, allocations: 472.6 kB / 458.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.2875, allocations: 0.8047 MB / 459.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2876, allocations: 0 / 459.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002295/0.2898, allocations: 1.107 MB / 460.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.2899, allocations: 11.94 kB / 460.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2899, allocations: 3.984 kB / 460.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/0.2905, allocations: 183.7 kB / 460.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009484/0.2915, allocations: 215.7 kB / 460.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004023/0.2955, allocations: 2.722 MB / 463.3 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006664/0.2962, allocations: 36.05 kB / 463.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.409e-05/0.2962, allocations: 35.98 kB / 463.4 MB, free: 7.012 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.000389/0.2966, allocations: 225.7 kB / 463.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.2968, allocations: 79.53 kB / 463.7 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.297, allocations: 90.53 kB / 463.8 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.297, allocations: 8 kB / 463.8 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.297, allocations: 8 kB / 463.8 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.297, allocations: 3.984 kB / 463.8 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009221/0.2979, allocations: 0.6113 MB / 464.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2979, allocations: 4 kB / 464.4 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008051/0.2987, allocations: 143.8 kB / 464.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005662/0.2993, allocations: 183.4 kB / 464.8 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/0.2994, allocations: 15.98 kB / 464.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003902/0.3033, allocations: 2.737 MB / 467.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3033, allocations: 7.875 kB / 467.5 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/0.306, allocations: 1.416 MB / 468.9 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3062, allocations: 71.52 kB / 469 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.3063, allocations: 16 kB / 469 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/0.3069, allocations: 55.89 kB / 469.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.307, allocations: 64.56 kB / 469.1 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.18e-05/0.3071, allocations: 23.98 kB / 469.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004544/0.3076, allocations: 378.8 kB / 469.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3076, allocations: 0 / 469.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008273/0.3084, allocations: 248 kB / 469.8 MB, free: 0.5 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.0002458/0.3086, allocations: 123.1 kB / 469.9 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.3109, allocations: 0.9907 MB / 470.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3109, allocations: 4.125 kB / 470.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.3122, allocations: 0.6189 MB / 471.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/0.3129, allocations: 129.2 kB / 471.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.3161, allocations: 2.01 MB / 473.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.3166, allocations: 391 kB / 474 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003406/0.3169, allocations: 85.11 kB / 474.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.3171, allocations: 51.42 kB / 474.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3171, allocations: 4 kB / 474.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of Templates: time 0.02131/0.3384, allocations: 12.21 MB / 486.4 MB, free: 15.96 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.833779543987475]