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.0007795/0.0007795, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003125/0.003125, allocations: 160.5 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8491/0.8491, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 2.024e-06/2.024e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.838e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.004234/0.004262, allocations: 5.379 MB / 331.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.005914, allocations: 1.517 MB / 332.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.006148, allocations: 19.94 kB / 332.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.006385, allocations: 174.3 kB / 332.9 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.006707, allocations: 313 kB / 333.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.007227, allocations: 419.2 kB / 333.6 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007791/0.008006, allocations: 1.437 MB / 335.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.008308, allocations: 277.7 kB / 335.4 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005536/0.008861, allocations: 0.7681 MB / 336.1 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.009197, allocations: 434.8 kB / 336.6 MB, free: 4.641 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.009298, allocations: 136 kB / 336.7 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.009469, allocations: 179.9 kB / 336.9 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.009591, allocations: 279.1 kB / 337.1 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.009832, allocations: 427 kB / 337.5 MB, free: 3.641 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009313/0.01076, allocations: 1.609 MB / 339.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01077, allocations: 0 / 339.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01077, allocations: 3.938 kB / 339.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.01078, allocations: 0 / 339.2 MB, free: 2.023 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.001411/0.01219, allocations: 1.326 MB / 340.5 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.01222, allocations: 8.031 kB / 340.5 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.01243, allocations: 136.2 kB / 340.6 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.01294, allocations: 0.4971 MB / 341.1 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.01297, allocations: 62.38 kB / 341.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.01307, allocations: 88.38 kB / 341.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009827/0.01405, allocations: 1.11 MB / 342.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.01406, allocations: 192 / 342.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.01412, allocations: 36.38 kB / 342.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.01413, allocations: 23.94 kB / 342.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009735/0.0151, allocations: 0.8472 MB / 343.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003226/0.01833, allocations: 2.77 MB / 346.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.01915, allocations: 0.6255 MB / 346.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/0.01958, allocations: 399.2 kB / 347.1 MB, free: 9.852 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.01962, allocations: 8.656 kB / 347.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.01965, allocations: 51.22 kB / 347.1 MB, free: 9.781 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 3.066e-06/0.01965, allocations: 3.984 kB / 347.1 MB, free: 9.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.002858/0.02251, allocations: 2.186 MB / 349.3 MB, free: 7.562 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.02254, allocations: 60.06 kB / 349.4 MB, free: 7.492 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004352/0.02298, allocations: 0.5536 MB / 349.9 MB, free: 6.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.02302, allocations: 41.7 kB / 350 MB, free: 6.883 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.0232, allocations: 448.2 kB / 350.4 MB, free: 6.438 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.02333, allocations: 281.7 kB / 350.7 MB, free: 6.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.02348, allocations: 142.6 kB / 350.8 MB, free: 6.016 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.02359, allocations: 382.8 kB / 351.2 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.02398, allocations: 321.9 kB / 351.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.02442, allocations: 472.5 kB / 352 MB, free: 4.809 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/0.02528, allocations: 0.8047 MB / 352.8 MB, free: 3.957 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02528, allocations: 0 / 352.8 MB, free: 3.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001257/0.02654, allocations: 1.111 MB / 353.9 MB, free: 2.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.02656, allocations: 8 kB / 353.9 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.02657, allocations: 4 kB / 353.9 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003438/0.02691, allocations: 199.5 kB / 354.1 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.02734, allocations: 195.8 kB / 354.3 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.02963, allocations: 2.717 MB / 357 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.02997, allocations: 40.03 kB / 357 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.03, allocations: 28 kB / 357.1 MB, free: 15.55 MB / 330.7 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.0002717/0.03028, allocations: 233.6 kB / 357.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.77e-05/0.03035, allocations: 79.52 kB / 357.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.819e-05/0.03045, allocations: 98.59 kB / 357.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.03046, allocations: 4 kB / 357.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.03047, allocations: 4 kB / 357.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.03047, allocations: 7.922 kB / 357.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005559/0.03103, allocations: 0.6074 MB / 358.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.03103, allocations: 0 / 358.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.03137, allocations: 143.8 kB / 358.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002957/0.03167, allocations: 183.2 kB / 358.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.0317, allocations: 23.98 kB / 358.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.03381, allocations: 2.727 MB / 361.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03381, allocations: 0 / 361.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.03533, allocations: 1.416 MB / 362.6 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.03541, allocations: 67.53 kB / 362.7 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.03547, allocations: 20.42 kB / 362.7 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.03574, allocations: 51.97 kB / 362.7 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.03583, allocations: 56.48 kB / 362.8 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.03586, allocations: 23.98 kB / 362.8 MB, free: 9.668 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002757/0.03613, allocations: 390.8 kB / 363.2 MB, free: 9.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03613, allocations: 0 / 363.2 MB, free: 9.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005289/0.03666, allocations: 240 kB / 363.4 MB, free: 9.055 MB / 330.7 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.0001687/0.03683, allocations: 135.1 kB / 363.5 MB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.03808, allocations: 1.006 MB / 364.6 MB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.03808, allocations: 0 / 364.6 MB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007061/0.03879, allocations: 0.6041 MB / 365.2 MB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.03921, allocations: 126.2 kB / 365.3 MB, free: 7.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.04114, allocations: 1.848 MB / 367.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.04137, allocations: 391 kB / 367.5 MB, free: 4.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.04153, allocations: 64.47 kB / 367.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.04153, allocations: 0 / 367.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of Templates: time 0.01147/0.05301, allocations: 15.08 MB / 382.7 MB, free: 5.75 MB / 346.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins/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.709105219691992]