Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 118.6 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.472/1.472, allocations: 230.4 MB / 254.7 MB, free: 14.87 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.83 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.1016, allocations: 53.31 MB / 426.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.2035/0.3051, allocations: 6.1 MB / 433 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.3078, allocations: 1.56 MB / 434.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004094/0.3082, allocations: 19.28 kB / 434.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.3086, allocations: 174.3 kB / 434.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004668/0.309, allocations: 294 kB / 435 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.3098, allocations: 414.1 kB / 435.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.311, allocations: 1.396 MB / 436.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.3114, allocations: 297.8 kB / 437.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006523/0.312, allocations: 0.4941 MB / 437.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.3127, allocations: 0.5673 MB / 438.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.3129, allocations: 135.1 kB / 438.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.3132, allocations: 179.1 kB / 438.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.3134, allocations: 281.1 kB / 438.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004609/0.3138, allocations: 0.5889 MB / 439.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.3158, allocations: 1.546 MB / 440.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3158, allocations: 0 / 440.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3158, allocations: 5.531 kB / 440.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.123e-05/0.3158, allocations: 0 / 440.9 MB, free: 5.074 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.002899/0.3187, allocations: 1.408 MB / 442.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3188, allocations: 10.34 kB / 442.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.3189, allocations: 137.9 kB / 442.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/0.3193, allocations: 130.5 kB / 442.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008047/0.3201, allocations: 0.5587 MB / 443.2 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.3201, allocations: 65.28 kB / 443.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.3203, allocations: 91.66 kB / 443.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.322, allocations: 0.8531 MB / 444.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.322, allocations: 4.594 kB / 444.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/0.3221, allocations: 36.06 kB / 444.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.3222, allocations: 21.56 kB / 444.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.3238, allocations: 0.8523 MB / 445.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005375/0.3292, allocations: 3.227 MB / 448.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.3302, allocations: 0.6288 MB / 448.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006535/0.3309, allocations: 392.2 kB / 449.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-05/0.3309, allocations: 18.91 kB / 449.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3309, allocations: 39.75 kB / 449.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.304e-06/0.3309, allocations: 0 / 449.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004687/0.3356, allocations: 2.275 MB / 451.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.3357, allocations: 63.09 kB / 451.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.3367, allocations: 0.6041 MB / 452.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/0.3368, allocations: 42.17 kB / 452.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.3372, allocations: 451.7 kB / 452.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.3375, allocations: 269.4 kB / 453.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.3377, allocations: 146.8 kB / 453.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.338, allocations: 392.9 kB / 453.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006552/0.3386, allocations: 323.6 kB / 453.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007432/0.3394, allocations: 470.5 kB / 454.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.3408, allocations: 0.8043 MB / 455.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3408, allocations: 2 kB / 455.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002278/0.343, allocations: 1.114 MB / 456.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3431, allocations: 6.875 kB / 456.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3431, allocations: 3.562 kB / 456.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/0.3437, allocations: 192.4 kB / 456.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008566/0.3445, allocations: 197.1 kB / 456.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003999/0.3485, allocations: 2.886 MB / 459.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007815/0.3493, allocations: 31.11 kB / 459.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.3494, allocations: 35.39 kB / 459.6 MB, free: 10.28 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.0004403/0.3498, allocations: 233.2 kB / 459.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.35, allocations: 87.98 kB / 459.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.3501, allocations: 94.36 kB / 460 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.3502, allocations: 12.25 kB / 460 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-05/0.3502, allocations: 2.188 kB / 460 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3502, allocations: 1.094 kB / 460 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.3514, allocations: 0.8908 MB / 460.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3514, allocations: 0 / 460.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/0.3521, allocations: 148.5 kB / 461.1 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004995/0.3526, allocations: 177.6 kB / 461.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.3526, allocations: 27.98 kB / 461.3 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00376/0.3564, allocations: 2.891 MB / 464.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3564, allocations: 3.375 kB / 464.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.3591, allocations: 1.428 MB / 465.6 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.3593, allocations: 151.4 kB / 465.7 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.3594, allocations: 15.5 kB / 465.8 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.36, allocations: 54.05 kB / 465.8 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3602, allocations: 51.89 kB / 465.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.3602, allocations: 27.89 kB / 465.9 MB, free: 5.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005069/0.3607, allocations: 428.2 kB / 466.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3607, allocations: 1.5 kB / 466.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008506/0.3616, allocations: 239 kB / 466.5 MB, free: 5.398 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.003021/0.3646, allocations: 2.009 MB / 468.6 MB, free: 4.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.3668, allocations: 0.9915 MB / 469.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3668, allocations: 1 kB / 469.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.3681, allocations: 0.6241 MB / 470.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007892/0.3689, allocations: 138.8 kB / 470.3 MB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.3811, allocations: 7.458 MB / 477.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/0.3818, allocations: 0.9814 MB / 478.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000456/0.3822, allocations: 93.45 kB / 478.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/0.3827, allocations: 319.3 kB / 479.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3827, allocations: 0 / 479.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06233/0.445, allocations: 19.17 MB / 498.3 MB, free: 8.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.42, allocations: 4 kB / 498.3 MB, free: 8.688 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DifferenceAmplifier_fmu --startTime=0 --stopTime=1e-08 --stepSize=1.9984e-12 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.780907901003957] Failed to read output from testmodel.py, exit status != 0: ['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'] 11.511015278752893 11.524530123 11.205867459 Calling exit ...